VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: banderson on October 30, 2015, 23:46:54 PM

Title: back to button on product page. How to get rid of it.
Post by: banderson on October 30, 2015, 23:46:54 PM
Joomla 3.4.5
Virtuemart 3.0.10

How do you get rid of the "back to" button that sends you back to a category.  It is on one of my product pages.  I really don't need it on my site.
Thank you
Title: Re: back to button on product page. How to get rid of it.
Post by: jenkinhill on October 31, 2015, 00:00:05 AM
Either override  components/com_virtuemart/views/productdetails/tmpl/default.php to remove the  back-to-category div 
or use a css override, eg
.back-to-category {
    display: none;
}

May be different if you already use template overrides.

http://docs.virtuemart.net/tutorials/templating-layouts.html
Title: Re: back to button on product page. How to get rid of it.
Post by: banderson on October 31, 2015, 18:47:35 PM
We went into the file line you specified at the top and removed the line you specified.  The button is still there.   Is there more to the line we need to remove?  Thank you.
Title: Re: back to button on product page. How to get rid of it.
Post by: jenkinhill on October 31, 2015, 23:28:45 PM
So you are using template overrides or a commercial Joomla/VM template? If so then you have to edit the relevant override file.