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

#   Show price of variant

##

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

Less More

- Posts: 209
- Thank you received: 18
-
-

15 years 2 weeks ago [\#27065](#27065) by [JIK](/forum/user/362-jik "View JIK's Profile")  *[Show price of variant](/forum/4-how-to/27065-show-price-of-variant#27065 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")* was created by *[JIK](/forum/user/362-jik "View JIK's Profile")*

Hi Nicolas,

Is it possible to show the price of a product's variants along with the variant name?

I have a product that has many variants which are sizes. Each size has it's own price.

I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.

I don't particularly want to set all the variants up as products.

I have tried displaying the variants as a "table" but this does not seem to change anything.

Just wondering if there is any quick way of showing the variant prices?

cheers!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3MDY1LXNob3ctcHJpY2Utb2YtdmFyaWFudD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 2 weeks ago [\#27067](#27067) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#27067 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Hi,

There is no option for that.
That would require to do a characteristic display override:
[ www.hikashop.com/en/support/documentatio...tation.html#override](http://www.hikashop.com/en/support/documentation/62-hikashop-developer-documentation.html#override)

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

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

Less More

- Posts: 209
- Thank you received: 18
-
-

14 years 11 months ago [\#28774](#28774) by [JIK](/forum/user/362-jik "View JIK's Profile")  Replied by *[JIK](/forum/user/362-jik "View JIK's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#28774 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Okay, this is a bit of a showstopper for me!

I have a store with many thousand of products in it and each product has set quantity/price variations.

Example:

Product "A"

Box of 100 - $50.00
Box of 1000 - $80.00
Carton of 5000 - $120.00

Product "B"

Box of 100 - $30.00
Box of 1000 - $40.00
Carton of 5000 - $80.00

From the above, you can see that I have 3 characteristics - "Box of 100", "Box of 1000", "Carton of 5000" - but in order to show the variant prices on the product listing I actually have to add the price to the characteristic's value text, thus I end up with 6 characteristics.

This is the only way I can see to acheive the display of the variant prices so the buyer knows what they are buying. Doing this I can see that I will end up with hundreds of thousands of characteristics and if I ever need to do a price change I'll need to find each charateristic, ensure that it is only attached to one product and then change the text, and then change the variant price in the product. Alternatively, I guess I could put a quantity/price table in each product description. Either way it sounds like a maintenance headache for a store with thousands of products.

I can't use the price variations on the actual main product as this allows the customer to type in a quantity between the three values, which won't work and I can't tell the customer what the configuration is (packet or box or carton etc).

I had a look at the instructions for doing the display override but I can't work out where to put what. The variant text info is in the jos_hikashop_product table but the variant price is in the jos_hikashop_price table. I don't know how to configure the PHP to join the two. Also, I can't find any of the product display views that seem to configure this.

Unless, I'm missing something fundamental here, I think that what's missing is the possibility to have set product/price variations (and I think this would be a great enhancement for Hikashop future versions). Until then I probably need to find an alternative unless there are any better suggestions.

These posts seems to describe similar issues - I'm wondering how they overcame the display of the variant prices?

[ www.hikashop.com/en/support/forum/2-gene...f-measure.html#21479](http://www.hikashop.com/en/support/forum/2-general-talk-about-hikashop/21307-multiple-unit-of-measure.html#21479)
[ www.hikashop.com/en/support/forum/4-how-...r-options.html#21424](http://www.hikashop.com/en/support/forum/4-how-to/21410-additional-prices-for-options.html#21424)
[ www.hikashop.com/en/support/forum/4-how-...each-size.html#21136](http://www.hikashop.com/en/support/forum/4-how-to/21130-different-pricing-for-each-size.html#21136)

Cheers!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3MDY1LXNob3ctcHJpY2Utb2YtdmFyaWFudD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 11 months ago [\#28784](#28784) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#28784 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

When you have variants of a product, if you click on the "manage variants" button on the product edition page, you will see all the variants of the product.

There, you can enter your price scheme for your variants and thus you can have one price per variant.

There is no problem on that. It's actually built into HikaShop.
You can actually see the price update on the product page based on the variant selected.

Now, to display the price inside the dropdown with the characteristic name, you will have to change the way it's displaying by creating a characteristic display override. You don't have to join any table data, or load any data, the data you need is already loaded and given to you by the override system. You just need to write the PHP of the override. Now that requires that you know PHP quite well as it's not simple I agree, but it's totally possible to do.

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

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

Less More

- Posts: 209
- Thank you received: 18
-
-

14 years 11 months ago [\#28859](#28859) by [JIK](/forum/user/362-jik "View JIK's Profile")  Replied by *[JIK](/forum/user/362-jik "View JIK's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#28859 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Yes, Nicolas, I do know how to manage variants - my issue was ending up with thousands of them in order to simply show the customer the price of each variant (which seems logical for an online store!). It appears to be a pretty massive override you suggest with the characteristic.php file, which then makes me nervous with upgrades down the track - I have been caught with this before. Besides, having looked at the file, it's not obvious to me where the code to display the price should go.

Back to Zen Cart on this one I guess!

thanks anyway.

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

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

Less More

- Posts: 209
- Thank you received: 18
-
-

14 years 11 months ago [\#29719](#29719) by [JIK](/forum/user/362-jik "View JIK's Profile")  Replied by *[JIK](/forum/user/362-jik "View JIK's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#29719 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Hi Nicolas, giving this one last go before giving up!

I have added the following code to characteristic.php:

> foreach($characteristic-&gt;values as $k =&gt; $value){
> $price=$element-&gt;variants\[$k\]-&gt;prices\[0\]-&gt;price\_value;
> $price=sprintf("%01.2f", $price);
> $values\[$k\]=$value-&gt;characteristic\_value." - $".$price;

and I have now got variant dropdown boxes that have the price appended to the vairant text. Problem is, all the prices are zero (ie: Red - $0.00)

See attached pic.

Any help on what I'm doing wrong appreciated!

Tks  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/hikashop_test_variants.jpg) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/hikashop_test_variants.jpg "&#91;img")

- [ ![hikashop&#95;test&#95;variants.jpg](/forum/attachment/2049) ](/forum/attachment/2049 "...t&#95;variants.jpg") [ ](/forum/attachment/2049?download=1 "...t&#95;variants.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3MDY1LXNob3ctcHJpY2Utb2YtdmFyaWFudD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 11 months ago [\#29737](#29737) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#29737 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

that's because the $k is the id of the value of the characteristic, not the id of the variant.
So $element-&gt;variants[$k] is not correct.
You should loop on $element-&gt;variants to check on whether the variant is linked to that characteristic id and then get the price of the variant if it's a match.

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

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

Less More

- Posts: 209
- Thank you received: 18
-
-

14 years 11 months ago [\#29975](#29975) by [JIK](/forum/user/362-jik "View JIK's Profile")  Replied by *[JIK](/forum/user/362-jik "View JIK's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#29975 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Thanks Nicolas, with the help of a freelancer I got my problem sorted. This has reduced my need for characteristics from hundreds to about 10 and made my store way less complicated! Putting it in as an override did not work, so I just replaced the main charateristic.php file (I know this will cause upgrade issues in the future but at least it works now).

IMHO, being able to show the price of the variant in the dropdown box would be a very good addition to future Hikashop versions.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3MDY1LXNob3ctcHJpY2Utb2YtdmFyaWFudD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 11 months ago [\#29990](#29990) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#29990 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Hi,

Yes, you're right.
Actually, I think that we should move the characteristic file to a view, like we did for options.
That way, it can easily be overridden and such display modifications can be more easily done.

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

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

Less More

- Posts: 209
- Thank you received: 18
-
-

14 years 10 months ago [\#32668](#32668) by [JIK](/forum/user/362-jik "View JIK's Profile")  Replied by *[JIK](/forum/user/362-jik "View JIK's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#32668 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Hi Nicolas, just about to upgrade a business licence and was wondering if the ability to show the variant price, or characteristic "view" made it into 1.5.5?

cheers!

(Up to shop number 15 using Hikashop and loving it!)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3MDY1LXNob3ctcHJpY2Utb2YtdmFyaWFudD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 10 months ago [\#32685](#32685) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#32685 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Hi,

We didn't change that yet.

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

14 years 7 months ago [\#43833](#43833) by [higgoboss](/forum/user/6589-higgoboss "View higgoboss's Profile")  Replied by *[higgoboss](/forum/user/6589-higgoboss "View higgoboss's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#43833 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

I also need to have the price of the variant come after the radio button option name

Do you have the correct code that I can copy into characteristic.php?

Many thanks ![:)](/media/kunena/emoticons/8.png ":)")

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

- **[Foxworks](/forum/user/7379-foxworks "View Foxworks's Profile")**
- [![Foxworks's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7379.png)](/forum/user/7379-foxworks "View Foxworks's Profile")
- [ Offline](/forum/user/7379-foxworks)

Less More

- Posts: 92
- Thank you received: 5
-
-
-

13 years 5 months ago -  13 years 5 months ago [\#105043](#105043) by [Foxworks](/forum/user/7379-foxworks "View Foxworks's Profile")  Replied by *[Foxworks](/forum/user/7379-foxworks "View Foxworks's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#105043 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Hi Nicolas,
Is the option to edit the display of product characteristics inclued in the current version? If so, which view controls the way the characteristics are displayed?
I would also like to be able to show the price of the different variants of a product behind the variant name. Ideally this would be the additional price of a characteristic (so price of variant - price of basic item) much the same as is done with product options.

Kind regards,
Chris

Last edit: 13 years 5 months ago by [Foxworks](/forum/user/7379-foxworks "View Foxworks's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3MDY1LXNob3ctcHJpY2Utb2YtdmFyaWFudD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

13 years 5 months ago [\#105142](#105142) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Show price of variant](/forum/4-how-to/27065-show-price-of-variant#105142 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Hi,

No it's not. You need to do it via a template override as explained in the developer documentation:
[ www.hikashop.com/en/support/documentatio...tation.html#override](http://www.hikashop.com/en/support/documentation/62-hikashop-developer-documentation.html#override)

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

12 years 11 months ago [\#131347](#131347) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[Show price of variant](/forum/4-how-to/27065-show-price-of-variant#131347 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

I now see in demo site, that there is price displayed near variant name - "2GB ( + 40$ )"
But i cant find the way to do that. The only name is dispayed.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 11 months ago [\#131367](#131367) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Show price of variant](/forum/4-how-to/27065-show-price-of-variant#131367 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Hi,

That's not variants, but product options.
In your product page you have to select another product as option, and then the customer will be able to use the option or not, and this option has a price displayed.

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

12 years 11 months ago [\#131408](#131408) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[Show price of variant](/forum/4-how-to/27065-show-price-of-variant#131408 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

well, i'm using characteristics. i don't want to create more prodocts. Is there a possibility to add price to characteristics dropdown?

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

12 years 11 months ago [\#131429](#131429) 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 *[Show price of variant](/forum/4-how-to/27065-show-price-of-variant#131429 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Hi,
There is no option to do that if you really want to do it you'll have to directly edit some hikashop files, but some development skills will be required.

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

12 years 11 months ago [\#131433](#131433) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[Show price of variant](/forum/4-how-to/27065-show-price-of-variant#131433 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

i don't like editing files, there will be problems with updated, etc. thanks anyway

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 11 months ago [\#131852](#131852) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Show price of variant](/forum/4-how-to/27065-show-price-of-variant#131852 "Hi Nicolas,  Is it possible to show the price of a product's variants along with the variant name?  I have a product that has many variants which are sizes. Each size has it's own price.  I have set the variants to show as a dropdown box but only the variant name shows in the box so the user does not know the price of each variant until it is selected.  I don't particularly want to set all the variants up as products.  I have tried displaying the variants as a &quot;table&quot; but this does not seem to change anything.  Just wondering if there is any quick way of showing the variant prices?  cheers!")*

Hi,

In HikaShop, we use "view overrides". It means that you create a file in your template folder which will override the original view content.
It is totally safe ; you won't loose your modification with updates etc.

For customization it is often the best way to have your specific result.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

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

[](#top)
