VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: bufaso on March 08, 2016, 16:34:33 PM

Title: Remove category link on product page
Post by: bufaso on March 08, 2016, 16:34:33 PM
Hi,

I am using Joomla 3.4.8 / Virtuemart 3.0.12.

If you click on the preview (eye) button the product description will be displayed in a modal popup window. Under the description is the category: ... with a link to the category.

Can somebody tell me how to remove the Category & the category link on the product page? (See files attached)


Thanks in advance

Bufaso
Title: Re: Remove category link on product page
Post by: GJC Web Design on March 08, 2016, 16:36:21 PM
not the standard template ...

there is no such thing on std. VM

http://forum.virtuemart.net/index.php?topic=108212.0 
Title: Re: Remove category link on product page
Post by: bufaso on March 08, 2016, 16:46:01 PM
Okay I understand,

is it possible to tell me where I can remove the category link, displayed on the product details page, of a standard template?


Thanks in advance

Bufaso
Title: Re: Remove category link on product page
Post by: Jumbo! on March 08, 2016, 16:56:13 PM
Standard VM layout file path is - components/com_virtuemart/views/productdetails/tmpl/default.php

Find and remove the following codes between lines 68 to 70:

<div class="back-to-category">
    <a href="<?php echo $catURL ?>" class="product-details" title="<?php echo $categoryName ?>"><?php echo vmText::sprintf('COM_VIRTUEMART_CATEGORY_BACK_TO',$categoryName?></a>
</div>