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

#   Price per Unit display on Product Overview

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

5 years 4 months ago [\#334458](#334458) by [BSchiedl](/forum/user/60853-bschiedl "View BSchiedl's Profile")  *[Price per Unit display on Product Overview](/forum/26-product-category-display/902969-price-per-unit-display-on-product-overview#334458 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.9.28 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Chrome  Hi,  is it possible to display the price per unit not only on the product details page but also on the product overview page? I am from germany and we always have to give the base price when we sell drinks.  Sincerly, Bernd")* was created by *[BSchiedl](/forum/user/60853-bschiedl "View BSchiedl's Profile")*

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 3.9.28
-- PHP version -- : 7.3.25
-- Browser(s) name and version -- : Chrome

Hi,

is it possible to display the price per unit not only on the product details page but also on the product overview page?
I am from germany and we always have to give the base price when we sell drinks.

Sincerly,
Bernd

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 4 months ago -  5 years 4 months ago [\#334473](#334473) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Price per Unit display on Product Overview](/forum/26-product-category-display/902969-price-per-unit-display-on-product-overview#334473 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.9.28 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Chrome  Hi,  is it possible to display the price per unit not only on the product details page but also on the product overview page? I am from germany and we always have to give the base price when we sell drinks.  Sincerly, Bernd")*

Hello,

You have to edit in your Item Menu the "Which price" option, follow me step by step :
**1.** In **Menus** dropdown =&gt; **Main Menu**
**2.** Click to edit the required **Item Menu**
**3.** In **Products options** tab, and **Product data display** parts
**4.** Find the **Which price** option, to select **Unite price only**
[ ![alt](https://i.ibb.co/rynvtmx/which-price.png) ](https://i.ibb.co/rynvtmx/which-price.png "alt")

Hope this will fit your needs.
Regards

Last edit: 5 years 4 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

5 years 4 months ago [\#334491](#334491) by [BSchiedl](/forum/user/60853-bschiedl "View BSchiedl's Profile")  Replied by *[BSchiedl](/forum/user/60853-bschiedl "View BSchiedl's Profile")* on topic *[Price per Unit display on Product Overview](/forum/26-product-category-display/902969-price-per-unit-display-on-product-overview#334491 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.9.28 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Chrome  Hi,  is it possible to display the price per unit not only on the product details page but also on the product overview page? I am from germany and we always have to give the base price when we sell drinks.  Sincerly, Bernd")*

Thank you for your help!
I tried all the different options, but nothing changes.
The price shows allways 49,00 Euro per piece.

On the poduct details page the shop shows: 49,00 Euro per piece - 70,00 € / l
1 Bottle is 0,7 Liters
I need both prices also on the Product List/Overview Page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDI5NjktcHJpY2UtcGVyLXVuaXQtZGlzcGxheS1vbi1wcm9kdWN0LW92ZXJ2aWV3P3RtcGw9bWFya2Rvd24=) 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: 86593
- Thank you received: 14334
-
-

5 years 4 months ago [\#334494](#334494) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Price per Unit display on Product Overview](/forum/26-product-category-display/902969-price-per-unit-display-on-product-overview#334494 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.9.28 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Chrome  Hi,  is it possible to display the price per unit not only on the product details page but also on the product overview page? I am from germany and we always have to give the base price when we sell drinks.  Sincerly, Bernd")*

Hi,

The display of the price per weight unit is only available on the product details page not on the listings.
Philipe thought you had configured several prices on your product, with a different minimum quantity in each price and you wanted to display the one for the unit price (when the quantity is 1) instead of the cheapest as it is set by default.
To do what you want, you'll have to edit the file product / listing_price.php via the menu Display&gt;Views. There, you want to change the code: Code:

if($this-&gt;params-&gt;get('show_price_weight')){ if(!empty($this-&gt;element-&gt;product_id) &amp;&amp; isset($this-&gt;row-&gt;product_weight) &amp;&amp; bccomp($this-&gt;row-&gt;product_weight, 0, 3)) {

to: Code:

if(true){ if(isset($this-&gt;row-&gt;product_weight) &amp;&amp; bccomp($this-&gt;row-&gt;product_weight, 0, 3)) {

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

5 years 4 months ago [\#334522](#334522) by [BSchiedl](/forum/user/60853-bschiedl "View BSchiedl's Profile")  Replied by *[BSchiedl](/forum/user/60853-bschiedl "View BSchiedl's Profile")* on topic *[Price per Unit display on Product Overview](/forum/26-product-category-display/902969-price-per-unit-display-on-product-overview#334522 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.9.28 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Chrome  Hi,  is it possible to display the price per unit not only on the product details page but also on the product overview page? I am from germany and we always have to give the base price when we sell drinks.  Sincerly, Bernd")*

Works as expected!
Thank you very much.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDI5NjktcHJpY2UtcGVyLXVuaXQtZGlzcGxheS1vbi1wcm9kdWN0LW92ZXJ2aWV3P3RtcGw9bWFya2Rvd24=) 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.058 seconds

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