View Product Link

This topic has been marked as resolved.

My client wants a view/info link on the product grid listings to take you to the product page as they think the title hyperlink is not obvious enough… (also I currently have open cart set to only show prices) for logged in customers as this site is for wholesale customers..

What is the best way to include a view/info link?

I know you didn’t answer my last question but any info appreciated.

May 25, 2015 at 3:57 pm #41091

Hi,

1) You could easily add such a link, but you will have to manually modify a lot of templates:

catalog/view/theme/pavilion/template/product/category.tpl
catalog/view/theme/pavilion/template/product/manufacturer_info.tpl
catalog/view/theme/pavilion/template/product/search.tpl
catalog/view/theme/pavilion/template/product/special.tpl
catalog/view/theme/pavilion/template/tb/widget/_list_products.tpl

2) The code that you need is:

<a href="<?php echo $product['href']; ?>">Read more</a>

3) You could insert it after this code block:

<?php if ($tbData['products_system']['show_label_new'] && $product['is_new']): ?>
<span class="tb_label_new"><?php echo $tbData->text_label_new; ?></span>
<?php endif; ?>

Hope this could give you a clue where to start from.

BR,
ThemeBurn team

May 28, 2015 at 12:56 am #41145

Nice one thanks :)

June 12, 2015 at 1:10 am #41446

Glad we could help :)

BR,
ThemeBurn team

June 21, 2015 at 7:55 pm #41552
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.