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

#   Discout Application

##

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

Less More

- Posts: 251
- Thank you received: 2
-
-

15 years 1 month ago [\#26447](#26447) by [Nello](/forum/user/1361-nello "View Nello's Profile")  *[Discout Application](/forum/3-bug-report/26447-discout-application#26447 "Hi Nicolas,  In the Main Config I set &quot;Discout Application&quot; &quot;After the taxes&quot; In Discount I set a Bonus of 10€ applied on the orders over 50€, but the sistem still apply the discount on the price without taxes")* was created by *[Nello](/forum/user/1361-nello "View Nello's Profile")*

Hi Nicolas,

In the Main Config I set "Discout Application" "After the taxes"
In Discount I set a Bonus of 10€ applied on the orders over 50€, but the sistem still apply the discount on the price without taxes

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yNjQ0Ny1kaXNjb3V0LWFwcGxpY2F0aW9uP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 1 month ago [\#26468](#26468) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Discout Application](/forum/3-bug-report/26447-discout-application#26468 "Hi Nicolas,  In the Main Config I set &quot;Discout Application&quot; &quot;After the taxes&quot; In Discount I set a Bonus of 10€ applied on the orders over 50€, but the sistem still apply the discount on the price without taxes")*

Hi,

I just tried on our end but it's working fine:
I have a product costing 10€
I have a tax of 10%
I have a coupon of 10€

On the checkout I get that:
Total 10,00 €
Coupon -10,00 €
Taxes 1,00 €
Final total 1,00 €

So the tax is applied on the product. The price is then 10+1=11€. Then, the coupon is applied 11-10 = 1.

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

15 years 1 month ago [\#26471](#26471) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Re: Discout Application](/forum/3-bug-report/26447-discout-application#26471 "Hi Nicolas,  In the Main Config I set &quot;Discout Application&quot; &quot;After the taxes&quot; In Discount I set a Bonus of 10€ applied on the orders over 50€, but the sistem still apply the discount on the price without taxes")*

I don't know why. Before the update all works fine...
I show you an example:

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

You can see that the product cost with taxes is 15 € without taxes is 12.40.
No coupon is applied because it is calculated on 12.40 and not of 15 €

- [ ![discount-20110930.jpg](/forum/attachment/1800) ](/forum/attachment/1800 "...t-20110930.jpg") [ ](/forum/attachment/1800?download=1 "...t-20110930.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yNjQ0Ny1kaXNjb3V0LWFwcGxpY2F0aW9uP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 1 month ago [\#26473](#26473) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Discout Application](/forum/3-bug-report/26447-discout-application#26473 "Hi Nicolas,  In the Main Config I set &quot;Discout Application&quot; &quot;After the taxes&quot; In Discount I set a Bonus of 10€ applied on the orders over 50€, but the sistem still apply the discount on the price without taxes")*

That's indeed the case. The coupons minimum value is always calculated on the total price without taxes.

You can change that by editing the file adminsitrator/components/com_hikashop/classes/discount.php and change the line :
if($coupon-&gt;discount_minimum_order&gt;$total-&gt;prices[0]-&gt;price_value){
by:
if($coupon-&gt;discount_minimum_order&gt;$total-&gt;prices[0]-&gt;price_value_with_tax){

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

15 years 1 month ago [\#26474](#26474) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Re: Discout Application](/forum/3-bug-report/26447-discout-application#26474 "Hi Nicolas,  In the Main Config I set &quot;Discout Application&quot; &quot;After the taxes&quot; In Discount I set a Bonus of 10€ applied on the orders over 50€, but the sistem still apply the discount on the price without taxes")*

OK! Thank you very much!

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

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