News:

Looking for documentation? Take a look on our wiki

Main Menu

Don't display Manufacturer on Category Layout

Started by gamingjerseys, April 12, 2013, 07:29:32 AM

Previous topic - Next topic

gamingjerseys

Hello,
I have a Virtuemart Category Layout page on my website to display the different products in a certain category. I would like to not have the Manufacturer and Sort by tabs visible on the page. Is there any way to not display these?

jjk

Quote from: gamingjerseys on April 12, 2013, 07:29:32 AM
...I would like to not have the Manufacturer and Sort by tabs visible on the page. Is there any way to not display these?
"Tabs" sounds like these are part of your template design, because with a standard Joomla template these are not shown in tabs. However, you should be able to configure that in VM Configuration > 'Product Order Settings' tab.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

gamingjerseys

Sorry, but that didn't give me the option to not display the "Sort by" and "Manufacturer" drop down lists. I attached a screenshot of these. My main goal is to not display the Manufacturer drop down list because I manufacture all of my own products.

jjk

Can't read your screenshot (maybe I need new eyeglasses). In addition to my previous post you could leave the "Manufacturer: " string in the frontend language file empty.

However, you can produce a renamed (i.e. mydefault.php) copy of the file ...\components\com_virtuemart\views\category\tmpl\default.php and change line 178
from
      <?php echo $this->orderByList['manufacturer']; ?>
to
      <?php //echo $this->orderByList['manufacturer']; ?>

This should comment out the "Manufacturer" in the category view. Afterwards select 'mydefault.php' as the category view in VM configuration.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations