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

#   10% Discount amount incorrect!

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

14 years 6 months ago [\#47051](#47051) by [jasonwinley](/forum/user/7101-jasonwinley "View jasonwinley's Profile")  *[10% Discount amount incorrect!](/forum/3-bug-report/47051-10-discount-amount-incorrect#47051 "Hi, Fantastic software btw. :)    www.dpi-uk.com/display  I've setup a discount code of 'signuk1' for 10% off. The checkout displays the incorrect discount amount but, correctly adds the total! e.g  Total £ 695.00 Coupon -£ 83.40 --- This should be £69.50 10% of £695 Shipping £ 25.00 VAT £ 125.10 Final total £ 775.60  Many thanks Jason")* was created by *[jasonwinley](/forum/user/7101-jasonwinley "View jasonwinley's Profile")*

Hi,
Fantastic software btw. ![:)](/media/kunena/emoticons/3.png ":)")

[ www.dpi-uk.com/display](http://www.dpi-uk.com/display)

I've setup a discount code of 'signuk1' for 10% off. The checkout displays the incorrect discount amount but, correctly adds the total!
e.g

Total £ 695.00
Coupon -£ 83.40 --- This should be £69.50 10% of £695
Shipping £ 25.00
VAT £ 125.10
Final total £ 775.60

Many thanks Jason

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

14 years 6 months ago [\#47147](#47147) by [jasonwinley](/forum/user/7101-jasonwinley "View jasonwinley's Profile")  Replied by *[jasonwinley](/forum/user/7101-jasonwinley "View jasonwinley's Profile")* on topic *[Re: 10% Discount amount incorrect!](/forum/3-bug-report/47051-10-discount-amount-incorrect#47147 "Hi, Fantastic software btw. :)    www.dpi-uk.com/display  I've setup a discount code of 'signuk1' for 10% off. The checkout displays the incorrect discount amount but, correctly adds the total! e.g  Total £ 695.00 Coupon -£ 83.40 --- This should be £69.50 10% of £695 Shipping £ 25.00 VAT £ 125.10 Final total £ 775.60  Many thanks Jason")*

It really would be lovely to get this sorted out for my customer... Any ideas anyone?

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

14 years 6 months ago [\#47227](#47227) by [jasonwinley](/forum/user/7101-jasonwinley "View jasonwinley's Profile")  Replied by *[jasonwinley](/forum/user/7101-jasonwinley "View jasonwinley's Profile")* on topic *[Re: 10% Discount amount incorrect!](/forum/3-bug-report/47051-10-discount-amount-incorrect#47227 "Hi, Fantastic software btw. :)    www.dpi-uk.com/display  I've setup a discount code of 'signuk1' for 10% off. The checkout displays the incorrect discount amount but, correctly adds the total! e.g  Total £ 695.00 Coupon -£ 83.40 --- This should be £69.50 10% of £695 Shipping £ 25.00 VAT £ 125.10 Final total £ 775.60  Many thanks Jason")*

Never mind, realised when i got to office it was a case of replacing

echo $this-&gt;currencyHelper-&gt;format(@$this-&gt;coupon-&gt;discount_value*-1,@$this-&gt;coupon-&gt;discount_currency_id);
with
echo $this-&gt;currencyHelper-&gt;format(@$this-&gt;coupon-&gt;discount_value_without_tax*-1,@$this-&gt;coupon-&gt;discount_currency_id);

in the file 'cart' of the view 'checkout' that you can edit via the menu Display-&gt;Views.

Doh! :whistle:

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

[](#top)
