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

#   Coupon code calculate on base price ( before add Reduction)

##

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

Less More

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

9 years 6 months ago [\#265994](#265994) by [coralie](/forum/user/48886-coralie "View coralie's Profile")  *[Coupon code calculate on base price ( before add Reduction)](/forum/46-discount-coupon/889559-coupon-code-calculate-on-base-price-before-add-reduction#265994 "Hi, I have one product at 60€. On checkout, i add coupon code on my product to add -25%. So my product price is 45€ now.  But I have a reduction on this product (-10€) so product price is 50€ &#91;strike&#93; 60€&#91;/strike&#93; With coupon code, I want tot pay 45€ but now, i pay 50€-25% =&gt; 37.5€  Can you help me to modifie calculate.  Product price without reduction - coupon code.  Thank you")* was created by *[coralie](/forum/user/48886-coralie "View coralie's Profile")*

Hi,
I have one product at 60€.
On checkout, i add coupon code on my product to add -25%. So my product price is 45€ now.

But I have a reduction on this product (-10€) so product price is 50€ [strike] 60€[/strike]
With coupon code, I want tot pay 45€ but now, i pay 50€-25% =&gt; 37.5€

Can you help me to modifie calculate.

Product price without reduction - coupon code.

Thank you

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

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

Less More

- Posts: 86285
- Thank you received: 14263
-
-

9 years 6 months ago [\#265997](#265997) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Coupon code calculate on base price ( before add Reduction)](/forum/46-discount-coupon/889559-coupon-code-calculate-on-base-price-before-add-reduction#265997 "Hi, I have one product at 60€. On checkout, i add coupon code on my product to add -25%. So my product price is 45€ now.  But I have a reduction on this product (-10€) so product price is 50€ &#91;strike&#93; 60€&#91;/strike&#93; With coupon code, I want tot pay 45€ but now, i pay 50€-25% =&gt; 37.5€  Can you help me to modifie calculate.  Product price without reduction - coupon code.  Thank you")*

Hi,

You can use the setting "Coupon handling of discounted products" of your coupon to adapt how the coupon value should be calculated when the product has a discount.

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

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

Less More

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

9 years 6 months ago -  9 years 6 months ago [\#266045](#266045) by [coralie](/forum/user/48886-coralie "View coralie's Profile")  Replied by *[coralie](/forum/user/48886-coralie "View coralie's Profile")* on topic *[Coupon code calculate on base price ( before add Reduction)](/forum/46-discount-coupon/889559-coupon-code-calculate-on-base-price-before-add-reduction#266045 "Hi, I have one product at 60€. On checkout, i add coupon code on my product to add -25%. So my product price is 45€ now.  But I have a reduction on this product (-10€) so product price is 50€ &#91;strike&#93; 60€&#91;/strike&#93; With coupon code, I want tot pay 45€ but now, i pay 50€-25% =&gt; 37.5€  Can you help me to modifie calculate.  Product price without reduction - coupon code.  Thank you")*

Thank you, I had tried the 3 options and the calculations did not give me 45 €.

I have these options:
-standard behavior
- ignore discount product
- override discount product

If I choose Override, Hikashop calculate :

discount -10€ : 50€ [strike]60€[/strike]
coupon -25% : 2.5€ = 60€ - 50€

I want : 60€ - 25% = 45€

- [ ![Capture.JPG](/forum/attachment/37296) ](/forum/attachment/37296 "Capture.JPG") [ ](/forum/attachment/37296?download=1 "Capture.JPG")

Last edit: 9 years 6 months ago by [coralie](/forum/user/48886-coralie "View coralie's Profile").

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

9 years 6 months ago [\#266191](#266191) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Coupon code calculate on base price ( before add Reduction)](/forum/46-discount-coupon/889559-coupon-code-calculate-on-base-price-before-add-reduction#266191 "Hi, I have one product at 60€. On checkout, i add coupon code on my product to add -25%. So my product price is 45€ now.  But I have a reduction on this product (-10€) so product price is 50€ &#91;strike&#93; 60€&#91;/strike&#93; With coupon code, I want tot pay 45€ but now, i pay 50€-25% =&gt; 37.5€  Can you help me to modifie calculate.  Product price without reduction - coupon code.  Thank you")*

Hi,

Please provide the configuration of your coupon.

I suppose that your product have some taxes, so the price "60€" is with taxes.
It would be interesting to know what is the "tax category" used for your products.

Regards,

---

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

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

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

Less More

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

9 years 6 months ago [\#266233](#266233) by [coralie](/forum/user/48886-coralie "View coralie's Profile")  Replied by *[coralie](/forum/user/48886-coralie "View coralie's Profile")* on topic *[Coupon code calculate on base price ( before add Reduction)](/forum/46-discount-coupon/889559-coupon-code-calculate-on-base-price-before-add-reduction#266233 "Hi, I have one product at 60€. On checkout, i add coupon code on my product to add -25%. So my product price is 45€ now.  But I have a reduction on this product (-10€) so product price is 50€ &#91;strike&#93; 60€&#91;/strike&#93; With coupon code, I want tot pay 45€ but now, i pay 50€-25% =&gt; 37.5€  Can you help me to modifie calculate.  Product price without reduction - coupon code.  Thank you")*

If you want I give you my admin code.

- [ ![coupon.JPG](/forum/attachment/37342) ](/forum/attachment/37342 "coupon.JPG") [ ](/forum/attachment/37342?download=1 "coupon.JPG")
- [ ![tax.JPG](/forum/attachment/37343) ](/forum/attachment/37343 "tax.JPG") [ ](/forum/attachment/37343?download=1 "tax.JPG")

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

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

Less More

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

9 years 6 months ago [\#266430](#266430) by [coralie](/forum/user/48886-coralie "View coralie's Profile")  Replied by *[coralie](/forum/user/48886-coralie "View coralie's Profile")* on topic *[Coupon code calculate on base price ( before add Reduction)](/forum/46-discount-coupon/889559-coupon-code-calculate-on-base-price-before-add-reduction#266430 "Hi, I have one product at 60€. On checkout, i add coupon code on my product to add -25%. So my product price is 45€ now.  But I have a reduction on this product (-10€) so product price is 50€ &#91;strike&#93; 60€&#91;/strike&#93; With coupon code, I want tot pay 45€ but now, i pay 50€-25% =&gt; 37.5€  Can you help me to modifie calculate.  Product price without reduction - coupon code.  Thank you")*

Hy,It's very important can you help me please ? the calculate is wrong!

I use Tax : Default tax category ...

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

9 years 6 months ago [\#266467](#266467) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Coupon code calculate on base price ( before add Reduction)](/forum/46-discount-coupon/889559-coupon-code-calculate-on-base-price-before-add-reduction#266467 "Hi, I have one product at 60€. On checkout, i add coupon code on my product to add -25%. So my product price is 45€ now.  But I have a reduction on this product (-10€) so product price is 50€ &#91;strike&#93; 60€&#91;/strike&#93; With coupon code, I want tot pay 45€ but now, i pay 50€-25% =&gt; 37.5€  Can you help me to modifie calculate.  Product price without reduction - coupon code.  Thank you")*

Hello,

Because your product already have a discount and your coupon is using the "override", it should just generate a coupon for the difference between the product discount and the final coupon discount.

That feature/algorithm was provided by a third party and was integrated into HikaShop some time ago.
Unfortunately, that code is not something we have a full knowledge of and it looks like there is an issue because your coupon is twice the value it should be.

Please understand that it will need some time for our team to reproduce, analyze and fix the issue ; and we cannot do that during the week end (we are human, we also need some rest !)

Regards,

---

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

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

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

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

Time to create page: 0.188 seconds

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

[](#top)
