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

How to show a module in productdetails page only in virtuemart

Started by Mike555, November 30, 2018, 07:21:56 AM

Previous topic - Next topic

Mike555

I want to show a level2 categories only in product details page in virtuemart,but there is no specific product details page

Jörgen

You can make an override in You template to include modules. Make up a unique position code and add code to include the wanted modules.
Otherwise noNumber has a module manager that covers most usage scenarios, free and paid version
https://www.regularlabs.com/extensions/advancedmodulemanager

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

GJC Web Design

e.g

$modules = JModuleHelper::getModules('myposition');
foreach ($modules as $module)
{
echo JModuleHelper::renderModule($module);
}
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