Hi nitsan,
Thanks for reaching out to us. Unfortunately, it is beyond our support scope if you want customization help.
I need assistance in customizing the way these variations are displayed on the product pages. Currently, the variations are shown as plain numbers (375, 1000, 5000), but I would like to display them with appropriate units and in a more reader-friendly format, such as “375 ml”, “1 liter”, “5 liters”, etc.
You can edit the Attribute Name to display the units. You can follow the below screenshots to edit global attribute names:
Thank You
Customizing Variation Display Format
nitsan swissa
Hello,
I am currently using the “Variation Swatches for WooCommerce Pro” plugin on my WooCommerce website, which also includes Elementor and the full Crocoblock suite. My products have variations based on volume, specifically in milliliters and liters (e.g., 375ml, 1000ml, 5000ml).
I need assistance in customizing the way these variations are displayed on the product pages. Currently, the variations are shown as plain numbers (375, 1000, 5000), but I would like to display them with appropriate units and in a more reader-friendly format, such as “375 ml”, “1 liter”, “5 liters”, etc.
Could you guide me on how to achieve this within the “Variation Swatches for WooCommerce Pro” plugin? Are there any built-in settings or custom coding methods you recommend for modifying the variation display to include these units and formats?
Additionally, it’s essential for the display format to meet specific legal requirements, as it involves price calculation per 100ml. Therefore, any solution should be robust and compliant with these requirements.
Thank you for your assistance.