News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Remove category link on product page

Started by bufaso, March 08, 2016, 16:34:33 PM

Previous topic - Next topic

bufaso

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

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bufaso

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

Jumbo!

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>