If I add similar (related) products to the main product, and then add data or files to the main product through custom fields, then the data of custom fields are displayed as many times in the product card as similar (related) products are added.
Why is this happening?
VirtueMart 3.8.9 10473
template?
Quote from: pinochico on February 16, 2023, 18:32:46 PM
template?
No, I think it's about the type, field_type = E
If you change the type with your hands in the database, then there are no duplicates.
Screenshot.
I tried on different templates. The result is the same: the value of the custom field is displayed several times if there are related products
Moreover, data from different vmcustom plugins are duplicated: istraxx_download_simple or jkattachment
Screenshots
this situation occurs when products "refer" to each other as Related Products
VirtueMart 3.8.9 10473 is 2 years old now. I suggest you look at using the current VM 4.0.12 version rather than try to solve an issue in an old version:
http://dev.virtuemart.net/attachments/download/1359/com_virtuemart.4.0.12.10777_package_or_extract.zip