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

#   Customizing the product listing and details page

##

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

Less More

- Posts: 36
- Thank you received: 0
-
-

13 years 4 months ago [\#114195](#114195) by [dkubik](/forum/user/22809-dkubik "View dkubik's Profile")  *[Customizing the product listing and details page](/forum/4-how-to/85394-customizing-the-product-listing-and-details-page#114195 "Hi  I would like to ask you for help with three issues:  In configuration I switched for Product &quot;Weight Display = Yes&quot;, and know, for some product (even in the same category) I need to show only pre &quot;Price per Item/each&quot; and for some other &quot;Price per kg(weight)&quot;  1. How Am I supose to do that for Product listing page (page where are products from one category)? + how could I show the name of the brand on this page? see the attached Price&#95;screnshoot&#95;1.jpg  2. How Am I supose to do that same for Product details page? see the attached Price&#95;screnshoot&#95;2.jpg  and  3. If is not possible to input any value for product, like a 0,55kg etc. etc. hwo could I setup/customize your shop to have for selected product(in various categories) some predefined weights and price for them. I mean for example:  I have got a meat product, and customer should select one option from rollout menu:  100g - 0,4 EUR 200g - 0,8 EUR 300g - 1,2 EUR 500g - 2,0 EUR 700g - 2,8 EUR 1000g - 4,0 EUR 1500g - 6,0 EUR  and put it in the cart, where will be the right price calculated.  Thank you in advance for you support.  Best regards Dominik")* was created by *[dkubik](/forum/user/22809-dkubik "View dkubik's Profile")*

Hi

I would like to ask you for help with three issues:

In configuration I switched for Product "Weight Display = Yes", and know, for some product (even in the same category) I need to show only pre "Price per Item/each" and for some other "Price per kg(weight)"

1. How Am I supose to do that for Product listing page (page where are products from one category)? + how could I show the name of the brand on this page? see the attached Price_screnshoot_1.jpg

2. How Am I supose to do that same for Product details page? see the attached Price_screnshoot_2.jpg

and

3. If is not possible to input any value for product, like a 0,55kg etc. etc. hwo could I setup/customize your shop to have for selected product(in various categories) some predefined weights and price for them. I mean for example:

I have got a meat product, and customer should select one option from rollout menu:

100g - 0,4 EUR
200g - 0,8 EUR
300g - 1,2 EUR
500g - 2,0 EUR
700g - 2,8 EUR
1000g - 4,0 EUR
1500g - 6,0 EUR

and put it in the cart, where will be the right price calculated.

Thank you in advance for you support.

Best regards Dominik

- [ ![Price&#95;screnshoot&#95;1.jpg](/forum/attachment/11159) ](/forum/attachment/11159 "...renshoot&#95;1.jpg") [ ](/forum/attachment/11159?download=1 "...renshoot&#95;1.jpg")
- [ ![Price&#95;screnshoot&#95;2.jpg](/forum/attachment/11160) ](/forum/attachment/11160 "...renshoot&#95;2.jpg") [ ](/forum/attachment/11160?download=1 "...renshoot&#95;2.jpg")

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 4 months ago [\#114260](#114260) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Customizing the product listing and details page](/forum/4-how-to/85394-customizing-the-product-listing-and-details-page#114260 "Hi  I would like to ask you for help with three issues:  In configuration I switched for Product &quot;Weight Display = Yes&quot;, and know, for some product (even in the same category) I need to show only pre &quot;Price per Item/each&quot; and for some other &quot;Price per kg(weight)&quot;  1. How Am I supose to do that for Product listing page (page where are products from one category)? + how could I show the name of the brand on this page? see the attached Price&#95;screnshoot&#95;1.jpg  2. How Am I supose to do that same for Product details page? see the attached Price&#95;screnshoot&#95;2.jpg  and  3. If is not possible to input any value for product, like a 0,55kg etc. etc. hwo could I setup/customize your shop to have for selected product(in various categories) some predefined weights and price for them. I mean for example:  I have got a meat product, and customer should select one option from rollout menu:  100g - 0,4 EUR 200g - 0,8 EUR 300g - 1,2 EUR 500g - 2,0 EUR 700g - 2,8 EUR 1000g - 4,0 EUR 1500g - 6,0 EUR  and put it in the cart, where will be the right price calculated.  Thank you in advance for you support.  Best regards Dominik")*

Hi Dominik,

1/2. I think you will be able to do most of these customization trough our view edition system (Display&gt;Views).
The product listing use the view listing_div (or table according to what you chose in your module/menu). Just edit this view and add some php code to change the display according to the name of your product for example.

3. You can use the variant system to do this. Just create a characteristic named "weight" with your values and add it to your product. You will then be able to set a specific price for each weight.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

13 years 4 months ago [\#114286](#114286) by [dkubik](/forum/user/22809-dkubik "View dkubik's Profile")  Replied by *[dkubik](/forum/user/22809-dkubik "View dkubik's Profile")* on topic *[Customizing the product listing and details page](/forum/4-how-to/85394-customizing-the-product-listing-and-details-page#114286 "Hi  I would like to ask you for help with three issues:  In configuration I switched for Product &quot;Weight Display = Yes&quot;, and know, for some product (even in the same category) I need to show only pre &quot;Price per Item/each&quot; and for some other &quot;Price per kg(weight)&quot;  1. How Am I supose to do that for Product listing page (page where are products from one category)? + how could I show the name of the brand on this page? see the attached Price&#95;screnshoot&#95;1.jpg  2. How Am I supose to do that same for Product details page? see the attached Price&#95;screnshoot&#95;2.jpg  and  3. If is not possible to input any value for product, like a 0,55kg etc. etc. hwo could I setup/customize your shop to have for selected product(in various categories) some predefined weights and price for them. I mean for example:  I have got a meat product, and customer should select one option from rollout menu:  100g - 0,4 EUR 200g - 0,8 EUR 300g - 1,2 EUR 500g - 2,0 EUR 700g - 2,8 EUR 1000g - 4,0 EUR 1500g - 6,0 EUR  and put it in the cart, where will be the right price calculated.  Thank you in advance for you support.  Best regards Dominik")*

Hi Eliot

1/2. And could you please help me with the code for my request please? Standard price is set for almost all products, but if some other products are sold base on their weight, we fill in the field "Weight" and then only the Price per KG(weight) should be published, so this is also default in Hikashop.

Could you please provide me with example

thank you
Dominik

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 4 months ago -  13 years 4 months ago [\#114320](#114320) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Customizing the product listing and details page](/forum/4-how-to/85394-customizing-the-product-listing-and-details-page#114320 "Hi  I would like to ask you for help with three issues:  In configuration I switched for Product &quot;Weight Display = Yes&quot;, and know, for some product (even in the same category) I need to show only pre &quot;Price per Item/each&quot; and for some other &quot;Price per kg(weight)&quot;  1. How Am I supose to do that for Product listing page (page where are products from one category)? + how could I show the name of the brand on this page? see the attached Price&#95;screnshoot&#95;1.jpg  2. How Am I supose to do that same for Product details page? see the attached Price&#95;screnshoot&#95;2.jpg  and  3. If is not possible to input any value for product, like a 0,55kg etc. etc. hwo could I setup/customize your shop to have for selected product(in various categories) some predefined weights and price for them. I mean for example:  I have got a meat product, and customer should select one option from rollout menu:  100g - 0,4 EUR 200g - 0,8 EUR 300g - 1,2 EUR 500g - 2,0 EUR 700g - 2,8 EUR 1000g - 4,0 EUR 1500g - 6,0 EUR  and put it in the cart, where will be the right price calculated.  Thank you in advance for you support.  Best regards Dominik")*

Hi,

Firstly, you have to know WHEN your products must be displaid with a per KG price or a per quantity ? when they have a weight ?

Last edit: 13 years 4 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

13 years 4 months ago [\#114327](#114327) by [dkubik](/forum/user/22809-dkubik "View dkubik's Profile")  Replied by *[dkubik](/forum/user/22809-dkubik "View dkubik's Profile")* on topic *[Customizing the product listing and details page](/forum/4-how-to/85394-customizing-the-product-listing-and-details-page#114327 "Hi  I would like to ask you for help with three issues:  In configuration I switched for Product &quot;Weight Display = Yes&quot;, and know, for some product (even in the same category) I need to show only pre &quot;Price per Item/each&quot; and for some other &quot;Price per kg(weight)&quot;  1. How Am I supose to do that for Product listing page (page where are products from one category)? + how could I show the name of the brand on this page? see the attached Price&#95;screnshoot&#95;1.jpg  2. How Am I supose to do that same for Product details page? see the attached Price&#95;screnshoot&#95;2.jpg  and  3. If is not possible to input any value for product, like a 0,55kg etc. etc. hwo could I setup/customize your shop to have for selected product(in various categories) some predefined weights and price for them. I mean for example:  I have got a meat product, and customer should select one option from rollout menu:  100g - 0,4 EUR 200g - 0,8 EUR 300g - 1,2 EUR 500g - 2,0 EUR 700g - 2,8 EUR 1000g - 4,0 EUR 1500g - 6,0 EUR  and put it in the cart, where will be the right price calculated.  Thank you in advance for you support.  Best regards Dominik")*

Hi

I know it exactly. When I define in Back-end of shop the weight (first attached screenshot) I get two prices in Product detail page (second attached screenshot).
In this case (when i define weight for product) it have to show only the Price per kg(weight) in Product detail page and also in Page where are listed product from selected category.

thank you
best regards
Dominik

- [ ![Hikashop&#95;weight&#95;price.jpg](/forum/attachment/11178) ](/forum/attachment/11178 "...ight&#95;price.jpg") [ ](/forum/attachment/11178?download=1 "...ight&#95;price.jpg")
- [ ![Hikashop&#95;weight&#95;price&#95;FrontEnd.jpg](/forum/attachment/11179) ](/forum/attachment/11179 "...e&#95;FrontEnd.jpg") [ ](/forum/attachment/11179?download=1 "...e&#95;FrontEnd.jpg")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 4 months ago [\#114351](#114351) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Customizing the product listing and details page](/forum/4-how-to/85394-customizing-the-product-listing-and-details-page#114351 "Hi  I would like to ask you for help with three issues:  In configuration I switched for Product &quot;Weight Display = Yes&quot;, and know, for some product (even in the same category) I need to show only pre &quot;Price per Item/each&quot; and for some other &quot;Price per kg(weight)&quot;  1. How Am I supose to do that for Product listing page (page where are products from one category)? + how could I show the name of the brand on this page? see the attached Price&#95;screnshoot&#95;1.jpg  2. How Am I supose to do that same for Product details page? see the attached Price&#95;screnshoot&#95;2.jpg  and  3. If is not possible to input any value for product, like a 0,55kg etc. etc. hwo could I setup/customize your shop to have for selected product(in various categories) some predefined weights and price for them. I mean for example:  I have got a meat product, and customer should select one option from rollout menu:  100g - 0,4 EUR 200g - 0,8 EUR 300g - 1,2 EUR 500g - 2,0 EUR 700g - 2,8 EUR 1000g - 4,0 EUR 1500g - 6,0 EUR  and put it in the cart, where will be the right price calculated.  Thank you in advance for you support.  Best regards Dominik")*

Ok so for the product page you'll have to change some parts of the **listing\_price** file of the **product** view of your **front-end template** that you are currently using through "*Hikashop-&gt;Display-&gt;Views*", but I cannot help you more without at least a temporary access to your back-end.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

13 years 4 months ago [\#114548](#114548) by [dkubik](/forum/user/22809-dkubik "View dkubik's Profile")  Replied by *[dkubik](/forum/user/22809-dkubik "View dkubik's Profile")* on topic *[Customizing the product listing and details page](/forum/4-how-to/85394-customizing-the-product-listing-and-details-page#114548 "Hi  I would like to ask you for help with three issues:  In configuration I switched for Product &quot;Weight Display = Yes&quot;, and know, for some product (even in the same category) I need to show only pre &quot;Price per Item/each&quot; and for some other &quot;Price per kg(weight)&quot;  1. How Am I supose to do that for Product listing page (page where are products from one category)? + how could I show the name of the brand on this page? see the attached Price&#95;screnshoot&#95;1.jpg  2. How Am I supose to do that same for Product details page? see the attached Price&#95;screnshoot&#95;2.jpg  and  3. If is not possible to input any value for product, like a 0,55kg etc. etc. hwo could I setup/customize your shop to have for selected product(in various categories) some predefined weights and price for them. I mean for example:  I have got a meat product, and customer should select one option from rollout menu:  100g - 0,4 EUR 200g - 0,8 EUR 300g - 1,2 EUR 500g - 2,0 EUR 700g - 2,8 EUR 1000g - 4,0 EUR 1500g - 6,0 EUR  and put it in the cart, where will be the right price calculated.  Thank you in advance for you support.  Best regards Dominik")*

Hi Mohamed Thelji

Regarding the access to back-end, it is o.k. to send you access credits and url using forum message system?

thank you

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

13 years 4 months ago [\#114585](#114585) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Customizing the product listing and details page](/forum/4-how-to/85394-customizing-the-product-listing-and-details-page#114585 "Hi  I would like to ask you for help with three issues:  In configuration I switched for Product &quot;Weight Display = Yes&quot;, and know, for some product (even in the same category) I need to show only pre &quot;Price per Item/each&quot; and for some other &quot;Price per kg(weight)&quot;  1. How Am I supose to do that for Product listing page (page where are products from one category)? + how could I show the name of the brand on this page? see the attached Price&#95;screnshoot&#95;1.jpg  2. How Am I supose to do that same for Product details page? see the attached Price&#95;screnshoot&#95;2.jpg  and  3. If is not possible to input any value for product, like a 0,55kg etc. etc. hwo could I setup/customize your shop to have for selected product(in various categories) some predefined weights and price for them. I mean for example:  I have got a meat product, and customer should select one option from rollout menu:  100g - 0,4 EUR 200g - 0,8 EUR 300g - 1,2 EUR 500g - 2,0 EUR 700g - 2,8 EUR 1000g - 4,0 EUR 1500g - 6,0 EUR  and put it in the cart, where will be the right price calculated.  Thank you in advance for you support.  Best regards Dominik")*

Hi,

Yes, that's not a problem.

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

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