Trying to find the option to show/hide the product manufacturer in a product page.
In the template there's this...
if (VmConfig::get('show_manufacturers', 1) && !empty($this->product->virtuemart_manufacturer_id)) {
echo $this->loadTemplate('manufacturer');
}
Therefore, there is a switch somewhere...
Also, which template file is it referencing?
I appreciate any help.
Thanks
html/com_virtuemart/manufacturer/default.php
perhaps?
Jörgen @ Kreativ Fotografi
Quote from: Jörgen on December 21, 2019, 14:17:28 PM
html/com_virtuemart/manufacturer/default.php
This seems to be the manufacturer
page.
The snippet I posted, is for the manufacturer section in a
single product page.
EDIT: Found it... it's
default_manufacturer.php in
com_virtuemart/productdetails.
The only info missing now is how to toggle show/hide manufacturers from the VM dashboard.
Thanks
If you dont see it in the config, then it's a hidden config setting.
Then you need to change it directly in the config file. See https://docs.virtuemart.net/manual/general-concepts/206-hidden-configurations.html
Thank you