VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: hazael on July 16, 2022, 14:10:31 PM

Title: There is no data from custom fields in the product list [VM 4.0.6]
Post by: hazael on July 16, 2022, 14:10:31 PM
I noticed a very strange problem in the product list, which on my website exceptionally affects one product.
It is the only one product on the list that does not display data from custom fields.
This is a parent product - Child products display correctly.

The data for this product in the list only appears when:

In product page, details from customfields are displayed correctly. I have nearly 100 similarly saved products and
only this product shows an anomaly  :-\ (???)

Sample field for a product on the list
<?php foreach ($product->customfieldsSorted['area'] as $field) {echo $field->display;} ?> m<sup>2</sup>

VM 4.0.6
Joomla 3.10.x
Title: Re: There is no data from custom fields in the product list [VM 4.0.6]
Post by: hazael on July 18, 2022, 20:13:59 PM
I got you !!!!  >:(

This problem appears in the parent product if the child product is featured and if in the configuration of the Virtuemart template "Show featured = Yes" (for the list of products).