News:

Support the VirtueMart project and become a member

Main Menu

Insert a joomla form in a virtuemart product listing.

Started by effettoMapet, July 10, 2023, 15:07:25 PM

Previous topic - Next topic

effettoMapet

HI,
I want to create a Joomla template location inside a virtuemart product listing where I can upload a joomla module.
Specifically, I have a contact form and I want to insert it in the product sheet.

I'm trying to figure out if it's possible to insert in the default.php file present in my html/ com_virtuemart > productdetails > default.php override some code that calls me a joomla module.
For example the code {loadmoduleid 304} which is used in Joomla articles or the string <jdoc:include type="modules" name="bottom_01" /> which is used in the index.php file of the template.

Could you please help me ?

Jumbo!

Enable the Joomla Plugin option in VirtueMart Configuration. Then you can use the load-module shortcodes in the product description.

Alternatively, you can use the Module Anywhere plugin.