fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

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.

Hakik Zaman

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:

Screenshot 1

Screenshot 2

Screenshot 3

Thank You

nitsan swissa

unfortunately this dosen’t help me much since the attribution is numeric and i use it for calculations, so if i change the attribute to something non numeric, the code will break.

Can you offer something else ?

Hakik Zaman

Hi nitsan,

Unfortunately, the feature is not currently available.

Please send the feature request here: https://storepress.fider.io/

and ask your other to upvote it.

Cheers!