Author Topic: Remove category link on product page  (Read 1625 times)

bufaso

  • Beginner
  • *
  • Posts: 3
  • A beginner
Remove category link on product page
« 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

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8891
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Remove category link on product page
« Reply #1 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 
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bufaso

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: Remove category link on product page
« Reply #2 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

Jumbo!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 669
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always latest
Re: Remove category link on product page
« Reply #3 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:

Code: [Select]
<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>