News:

Looking for documentation? Take a look on our wiki

Main Menu

Accessing product info, from module? (product page)

Started by EvanGR, April 29, 2020, 13:21:26 PM

Previous topic - Next topic

EvanGR

Hello,

I created a custom module (based on mod_custom), which I show on product page.
I want the module to access the product information ($product, or $this-product).
How is this possible?

Thanks

pinochico

we use own:

modul vm product extended
modul custom for virtuemart - there we load some info from VM and can be upgraded i must be look inside what do you want.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

EvanGR

I want to access the current product object, just like I can from the product template.

Studio 42

Check in the /components/com_virtuemart/views/productdetails/view.html.php
You have all informations inside