VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: razor7 on April 06, 2021, 21:15:45 PM

Title: Multi variant custom label number as 0 (cero), values saved but not displayed
Post by: razor7 on April 06, 2021, 21:15:45 PM
Hi! this is a tricky issue I guess. I have created a Multi Variant field and in my products, all have two branches, Talle (size) and Color. For Talle (size) I can set any string like Small, Medium, Large, etc, but some products have sizes in numbers starting at 0, for instance: 0, 00, 000.

For the custom label of the Talle (size) branch, I found VM to have issues with labels that only contains 0's, please see attachment db-multi-variant-field-values.png which shows the DB values for that MV field for that specific product, and compare it with vm-multivariant-field-values.png which shows that VM, despite having label values 0 and 00 in DB, it doesn't displays it in the labels box!

Is there a way to check for this issue and fix it?

Thanks!
Title: Re: Multi variant custom label number as 0 (cero), values saved but not displayed
Post by: razor7 on April 30, 2021, 19:52:43 PM
Any clue?
Title: Re: Multi variant custom label number as 0 (cero), values saved but not displayed
Post by: Jörgen on April 30, 2021, 20:10:28 PM
Add some extra characters it use language Keys perhaps?
Jörgen