how to show a mix of products in kg and g?

  • Posts: 19
  • Thank you received: 0
4 years 3 weeks ago #329755

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.4.0

What is the preferred way to have this kind of presentation?(see attached printscreen)
- price per kg
- items can be sold per piece and per gram
- characteristics presented as an icon.

I have found a way to display the grams (Quantity input= show select). But the price is still in gram, which is not optimal when also having products that are sold per piece.

Also I have translated PER_UNIT=" gram" which is good for articles sold per gram but not for sold per piece...

Thanks in advance
Guy

Attachments:
Last edit: 4 years 3 weeks ago by guyb.

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

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 3 weeks ago #329762

Hi,

1. The show select option is a good idea. But if you want to display the price per weight using another unit than the one selected in the product weight unit selector, that would require some code customization in the product / listing_price.php view file via the menu Display>Views.

2. Regarding the "per unit", you can implement the solution proposed in "I sell packed products, how can I change "each" text in the product page ?" section of the FAQ:
www.hikashop.com/support/documentation/106-faq.html

The following user(s) said Thank You: guyb

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

Time to create page: 0.055 seconds
Powered by Kunena Forum