There is no data from custom fields in the product list [VM 4.0.6]

Started by hazael, July 16, 2022, 14:10:31 PM

Previous topic - Next topic

hazael

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:

  • - I display it in the search results in customfilters component.
  • - if I uncheck the "disinh" fields for custom fields in the product settings

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

hazael

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).