Hello,
I am trying to accomplish what I have posted http://forum.virtuemart.net/index.php?topic=146454.0 (http://forum.virtuemart.net/index.php?topic=146454.0) using the following code:
$productsChildren = array();
$productsChildren['products'] = $productModel->getProductListing(false, false, true, true, false, true, $child->virtuemart_category_id, false, 0);
$productModel->addImages($productsChildren['products']);
The products display correctly, but I can't get the custom fields. If I use the default way of products display, the custom fields display correctly.
How can I display tyhe custom fields? I am thinking that changing the getProductListing() would get me the custom fields, but I don't know how to do it.
Any ideas?
VERSIONS
Joomla Joomla! 3.9.25
Virtuemart 3.8.4
Php 7.3