VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: effettoMapet on July 10, 2023, 15:07:25 PM

Title: Insert a joomla form in a virtuemart product listing.
Post by: effettoMapet on July 10, 2023, 15:07:25 PM
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 ?
Title: Re: Insert a joomla form in a virtuemart product listing.
Post by: Jumbo! on July 10, 2023, 17:17:44 PM
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.