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

#   product variant showing different price

##

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

Less More

- Posts: 43
- Thank you received: 5
-
-

2 years 4 months ago [\#361876](#361876) by [Genr8r](/forum/user/44235-genr8r "View Genr8r's Profile")  *[product variant showing different price](/forum/26-product-category-display/908347-product-variant-showing-different-price#361876 "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 3.10.12 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Brave Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64) -- Error-message(debug-mod must be tuned on) -- : No error messages  Greetings,  Our client has a handful of products on their site that are showing dramatically lower prices for individual variants. There is no special pricing set for the variants and I don't see any coupons or discounts that would cause the issue.  I have left this product published but am hoping for a quick resolution so that I don't have to reimburse my client for the lost revenue if it sells at the wrong price.  Please advise.")* was created by *[Genr8r](/forum/user/44235-genr8r "View Genr8r's Profile")*

-- HikaShop version -- : 5.1.0
-- Joomla version -- : 3.10.12
-- PHP version -- : 7.4.33
-- Browser(s) name and version -- : Brave Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64)
-- Error-message(debug-mod must be tuned on) -- : No error messages

Greetings,

Our client has a handful of products on their site that are showing dramatically lower prices for individual variants. There is no special pricing set for the variants and I don't see any coupons or discounts that would cause the issue.

I have left this product published but am hoping for a quick resolution so that I don't have to reimburse my client for the lost revenue if it sells at the wrong price.

Please advise.

- [ ![variant-with-problem.png](/forum/attachment/59450) ](/forum/attachment/59450 "...th-problem.png") [ ](/forum/attachment/59450?download=1 "...th-problem.png")
- [ ![product-main-settings.png](/forum/attachment/59451) ](/forum/attachment/59451 "...n-settings.png") [ ](/forum/attachment/59451?download=1 "...n-settings.png")
- [ ![product-variant-with-lower-price.png](/forum/attachment/59452) ](/forum/attachment/59452 "...ower-price.png") [ ](/forum/attachment/59452?download=1 "...ower-price.png")
- [ ![product-variant-with-normal-price.png](/forum/attachment/59453) ](/forum/attachment/59453 "...rmal-price.png") [ ](/forum/attachment/59453?download=1 "...rmal-price.png")

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

2 years 4 months ago [\#361877](#361877) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[product variant showing different price](/forum/26-product-category-display/908347-product-variant-showing-different-price#361877 "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 3.10.12 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Brave Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64) -- Error-message(debug-mod must be tuned on) -- : No error messages  Greetings,  Our client has a handful of products on their site that are showing dramatically lower prices for individual variants. There is no special pricing set for the variants and I don't see any coupons or discounts that would cause the issue.  I have left this product published but am hoping for a quick resolution so that I don't have to reimburse my client for the lost revenue if it sells at the wrong price.  Please advise.")*

Hi,

I'm not able to access your link:
[ i.imgur.com/qp8TMS1.png](https://i.imgur.com/qp8TMS1.png)
What I would recommend is to set the "access level" of this product to a special user group and provide us with a user account with access to that user group. That way, we could access the page of that product in order to check things out without your normal users seeing it.
Also, a backend access would be great in order to check the settings of the shop. Besides a discount, or the price of the variant itself, plugins could also change the price of a variant on the fly, like the "price calculations" plugin we have on our marketplace.
Also, since there is the problem for only a handful of products, how about making a copy of these products ? If it comes from a discount or something like this, the duplicated products might not be affected.

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

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

Less More

- Posts: 43
- Thank you received: 5
-
-

2 years 4 months ago -  2 years 4 months ago [\#361898](#361898) by [Genr8r](/forum/user/44235-genr8r "View Genr8r's Profile")  Replied by *[Genr8r](/forum/user/44235-genr8r "View Genr8r's Profile")* on topic *[product variant showing different price](/forum/26-product-category-display/908347-product-variant-showing-different-price#361898 "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 3.10.12 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Brave Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64) -- Error-message(debug-mod must be tuned on) -- : No error messages  Greetings,  Our client has a handful of products on their site that are showing dramatically lower prices for individual variants. There is no special pricing set for the variants and I don't see any coupons or discounts that would cause the issue.  I have left this product published but am hoping for a quick resolution so that I don't have to reimburse my client for the lost revenue if it sells at the wrong price.  Please advise.")*

edit

Last edit: 2 years 4 months ago by [Genr8r](/forum/user/44235-genr8r "View Genr8r's Profile"). Reason: sensitive info

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

2 years 4 months ago [\#361900](#361900) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[product variant showing different price](/forum/26-product-category-display/908347-product-variant-showing-different-price#361900 "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 3.10.12 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Brave Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64) -- Error-message(debug-mod must be tuned on) -- : No error messages  Greetings,  Our client has a handful of products on their site that are showing dramatically lower prices for individual variants. There is no special pricing set for the variants and I don't see any coupons or discounts that would cause the issue.  I have left this product published but am hoping for a quick resolution so that I don't have to reimburse my client for the lost revenue if it sells at the wrong price.  Please advise.")*

Hello,

The price you obtain corresponds to the application of your discount "QuartzJuly2024", the simple fact of unpublishing this discount allows you to have prices consistent with the settings of your products.

Regards

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

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

Less More

- Posts: 43
- Thank you received: 5
-
-

2 years 4 months ago [\#361940](#361940) by [Genr8r](/forum/user/44235-genr8r "View Genr8r's Profile")  Replied by *[Genr8r](/forum/user/44235-genr8r "View Genr8r's Profile")* on topic *[product variant showing different price](/forum/26-product-category-display/908347-product-variant-showing-different-price#361940 "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 3.10.12 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Brave Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64) -- Error-message(debug-mod must be tuned on) -- : No error messages  Greetings,  Our client has a handful of products on their site that are showing dramatically lower prices for individual variants. There is no special pricing set for the variants and I don't see any coupons or discounts that would cause the issue.  I have left this product published but am hoping for a quick resolution so that I don't have to reimburse my client for the lost revenue if it sells at the wrong price.  Please advise.")*

Why does the discount not apply correctly? It is 35.5% discount

When I look at size 5 I get the following prices - [strike]$47.73[/strike] $30.79 each
When I look at size 11 I get the following prices - [strike]$3.44[/strike] $2.22 each

The two variants are set up the same and have the same pricing, but the discount is applying dramatically differently for the two variants.

I would not mind but there are other products that have the same issue.

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

2 years 4 months ago [\#361944](#361944) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[product variant showing different price](/forum/26-product-category-display/908347-product-variant-showing-different-price#361944 "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 3.10.12 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Brave Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64) -- Error-message(debug-mod must be tuned on) -- : No error messages  Greetings,  Our client has a handful of products on their site that are showing dramatically lower prices for individual variants. There is no special pricing set for the variants and I don't see any coupons or discounts that would cause the issue.  I have left this product published but am hoping for a quick resolution so that I don't have to reimburse my client for the lost revenue if it sells at the wrong price.  Please advise.")*

Hi,

I'm not following you.
If I remove 35.5% of 47.73, I get 30.79:
[ i.imgur.com/WyRKa7I.png](https://i.imgur.com/WyRKa7I.png)
If I remove 35.5% of 3.44, I get 2.22:
[ i.imgur.com/sIM4q8P.png](https://i.imgur.com/sIM4q8P.png)
So mathematically speaking, the discount is added to both prices in the exact same way.
I think you must be talking about something else than the way the discount is applied to the price.
That 3.44 must come from somewhere. I wanted to look at the settings of your product and its variants, but I can't find the "blue / green created opal quartz ring" product. The frontend link you had provided for it before also doesn't work anymore. Did you delete it since talking about it ?

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

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

Less More

- Posts: 43
- Thank you received: 5
-
-

2 years 4 months ago [\#361954](#361954) by [Genr8r](/forum/user/44235-genr8r "View Genr8r's Profile")  Replied by *[Genr8r](/forum/user/44235-genr8r "View Genr8r's Profile")* on topic *[product variant showing different price](/forum/26-product-category-display/908347-product-variant-showing-different-price#361954 "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 3.10.12 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Brave Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64) -- Error-message(debug-mod must be tuned on) -- : No error messages  Greetings,  Our client has a handful of products on their site that are showing dramatically lower prices for individual variants. There is no special pricing set for the variants and I don't see any coupons or discounts that would cause the issue.  I have left this product published but am hoping for a quick resolution so that I don't have to reimburse my client for the lost revenue if it sells at the wrong price.  Please advise.")*

You are addressing exactly our concern. The discount is applying properly to size 5 but when we switch to size 11 it drops the retail price dramatically and then applies the discount.

I can't figure out why adding the discount changes the retail price down to 3.44.

The product is visible only to logged in super users. It is product code - m363rbl

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

2 years 4 months ago [\#361957](#361957) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[product variant showing different price](/forum/26-product-category-display/908347-product-variant-showing-different-price#361957 "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 3.10.12 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Brave Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64) -- Error-message(debug-mod must be tuned on) -- : No error messages  Greetings,  Our client has a handful of products on their site that are showing dramatically lower prices for individual variants. There is no special pricing set for the variants and I don't see any coupons or discounts that would cause the issue.  I have left this product published but am hoping for a quick resolution so that I don't have to reimburse my client for the lost revenue if it sells at the wrong price.  Please advise.")*

Hi,

Thanks. It seems to be a problem with the discount being applied several times, once for each variant. It must be an issue with the variable reference being reused by PHP. It might be a problem specific to the version of PHP you have as I don't have the problem on my end. Could you provide a FTP access to the website via our contact form so that I can add debug into the code in order to dig deeper into the problem and apply a fix for it ?
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

2 years 4 months ago [\#362065](#362065) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[product variant showing different price](/forum/26-product-category-display/908347-product-variant-showing-different-price#362065 "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 3.10.12 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Brave Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64) -- Error-message(debug-mod must be tuned on) -- : No error messages  Greetings,  Our client has a handful of products on their site that are showing dramatically lower prices for individual variants. There is no special pricing set for the variants and I don't see any coupons or discounts that would cause the issue.  I have left this product published but am hoping for a quick resolution so that I don't have to reimburse my client for the lost revenue if it sells at the wrong price.  Please advise.")*

Hi,

Thank you for the access.
I found out that the issue was related to another change we made to be able to support discounts made directly on variants. For this, we have to add the discount on the price of the variant. However, at the point where this is done, the price of the variant is, in your case, a copy of the price from the main product. And that price from the main product already has the discount on the main product applied to it.
I've modified the code so that when the system tries to add a discount to a price, it first checks if the price doesn't already have a discount applied. If so, it skips the process.
I've tested the modification on your website and I can confirm it fixes the problem.

For anyone with the same issue, download again the install package of HikaShop on our website and install it on yours and it will add the patch.

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

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