Get product name and description in a joomla article when I have product ID

Started by Nicola1008, May 27, 2017, 12:03:21 PM

Previous topic - Next topic

Nicola1008

HI,

is there a way to get product name and product description in a joomla article if I have the product ID?

I want to get name and description in a joomla article using php but I don't know how to get them. In other PHP files I see "$this->product->product_name" but I think that in a joomla article can't work because I don't now how to select virtuemart by the ID that I have.

Hope anyone can help me

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum