[Skip to main content](#vessel-content)

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

##

- **[guyb](/forum/user/60326-guyb "View guyb's Profile")**
- [![guyb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60326-guyb "View guyb's Profile") Topic Author
- [ Offline](/forum/user/60326-guyb)

Less More

- Posts: 19
- Thank you received: 0
-
-

5 years 9 months ago -  5 years 9 months ago [\#329755](#329755) by [guyb](/forum/user/60326-guyb "View guyb's Profile")  *[how to show a mix of products in kg and g?](/forum/26-product-category-display/901965-how-to-show-a-mix-of-products-in-kg-and-g#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&#95;UNIT=&quot; gram&quot; which is good for articles sold per gram but not for sold per piece...  Thanks in advance Guy")* was created by *[guyb](/forum/user/60326-guyb "View guyb's Profile")*

-- 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

- [ ![Screenshot-210218001.png](/forum/attachment/51986) ](/forum/attachment/51986 "...-210218001.png") [ ](/forum/attachment/51986?download=1 "...-210218001.png")

Last edit: 5 years 9 months ago by [guyb](/forum/user/60326-guyb "View guyb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE5NjUtaG93LXRvLXNob3ctYS1taXgtb2YtcHJvZHVjdHMtaW4ta2ctYW5kLWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

5 years 9 months ago [\#329762](#329762) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to show a mix of products in kg and g?](/forum/26-product-category-display/901965-how-to-show-a-mix-of-products-in-kg-and-g#329762 "-- 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&#95;UNIT=&quot; gram&quot; which is good for articles sold per gram but not for sold per piece...  Thanks in advance Guy")*

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&gt;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](https://www.hikashop.com/support/documentation/106-faq.html)

The following user(s) said Thank You: [guyb](/forum/user/60326-guyb "View guyb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE5NjUtaG93LXRvLXNob3ctYS1taXgtb2YtcHJvZHVjdHMtaW4ta2ctYW5kLWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
