- Posts: 19
- Thank you received: 0
how to show a mix of products in kg and g?
5 years 8 months ago - 5 years 8 months ago #329755
by guyb
how to show a mix of products in kg and g? was created by guyb
-- 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
-- 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
Last edit: 5 years 8 months ago by guyb.
Please Log in or Create an account to join the conversation.
5 years 8 months ago #329762
by nicolas
Replied by nicolas on topic how to show a mix of products in kg and g?
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
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.066 seconds