Product messure liter instead of weight

  • Posts: 1087
  • Thank you received: 12
  • Hikashop Business
6 years 10 months ago #292385

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.7
-- PHP version -- : 7.0

Hello,

is there liter unit instead of weight?
I need to display some products in liters.

Thank you in advance

Please Log in or Create an account to join the conversation.

  • Posts: 83486
  • Thank you received: 13507
  • MODERATOR
6 years 10 months ago #292386

Hi,

You can use translation overrides to change them.
For example, you can add this:
KG="L"
and you'll see L instead of kg for the weight of the products.

The following user(s) said Thank You: verzevoul

Please Log in or Create an account to join the conversation.

  • Posts: 1087
  • Thank you received: 12
  • Hikashop Business
6 years 10 months ago #292414

Hi nicolas,

what if i want to have both?
Some products have weight and some others liters?

Please Log in or Create an account to join the conversation.

  • Posts: 83486
  • Thank you received: 13507
  • MODERATOR
6 years 10 months ago #292415

Hi,

One solution could be to use another unit for the liters. For example you could override g instead of kg. The drawback is that the weight used for the calculations of shipping fees (if that's necessary) would be wrong.
Alternatively, you could turn off the display of the weight and use instead a custom product field for that. That way, you could keep your weight units as they are by default and display the weight however you want for each product.

The following user(s) said Thank You: verzevoul

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 1
6 years 1 month ago #303631

For me, the solution was to create product variants: 250 ml, 500 ml and 1 liter.
See attached image.

Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum