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

#   Checkout shows correct discount but cart doesn't

##

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

Less More

- Posts: 122
- Thank you received: 0
-
-

12 years 4 months ago [\#163430](#163430) by [optimized](/forum/user/31311-optimized "View optimized's Profile")  *[Checkout shows correct discount but cart doesn't](/forum/27-checkout/869596-checkout-shows-correct-discount-but-cart-doesnt#163430 "-- url of the page with the problem -- :   starsupplyalliance.com  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Checkout shows correct discount but the cart shows the discount on the wrong amount.  I cannot see an option in the shopping cart module to show the discount in the same way as checkout  Please see attached screen shot  Regards")* was created by *[optimized](/forum/user/31311-optimized "View optimized's Profile")*

-- url of the page with the problem -- : [ starsupplyalliance.com](http://starsupplyalliance.com)
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 3.3
-- PHP version -- : 5.4
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Checkout shows correct discount but the cart shows the discount on the wrong amount.

I cannot see an option in the shopping cart module to show the discount in the same way as checkout

Please see attached screen shot

Regards

- [ ![h84e131f.png](/forum/attachment/18345) ](/forum/attachment/18345 "h84e131f.png") [ ](/forum/attachment/18345?download=1 "h84e131f.png")

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

12 years 4 months ago [\#163458](#163458) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout shows correct discount but cart doesn't](/forum/27-checkout/869596-checkout-shows-correct-discount-but-cart-doesnt#163458 "-- url of the page with the problem -- :   starsupplyalliance.com  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Checkout shows correct discount but the cart shows the discount on the wrong amount.  I cannot see an option in the shopping cart module to show the discount in the same way as checkout  Please see attached screen shot  Regards")*

Hi,

Edit your cart module via the menu Display&gt;Content modules and set the "show taxed prices" to "without tax" and you should get the same display.

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

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

Less More

- Posts: 122
- Thank you received: 0
-
-

12 years 4 months ago [\#163545](#163545) by [optimized](/forum/user/31311-optimized "View optimized's Profile")  Replied by *[optimized](/forum/user/31311-optimized "View optimized's Profile")* on topic *[Checkout shows correct discount but cart doesn't](/forum/27-checkout/869596-checkout-shows-correct-discount-but-cart-doesnt#163545 "-- url of the page with the problem -- :   starsupplyalliance.com  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Checkout shows correct discount but the cart shows the discount on the wrong amount.  I cannot see an option in the shopping cart module to show the discount in the same way as checkout  Please see attached screen shot  Regards")*

Thanks,

This has the desired affect of correcting the Discount cost but it has also removed the post tax prices.

Is it possible to display the correct discount AND the post tax price ?

Regards,

Mike

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

12 years 4 months ago [\#163586](#163586) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout shows correct discount but cart doesn't](/forum/27-checkout/869596-checkout-shows-correct-discount-but-cart-doesnt#163586 "-- url of the page with the problem -- :   starsupplyalliance.com  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Checkout shows correct discount but the cart shows the discount on the wrong amount.  I cannot see an option in the shopping cart module to show the discount in the same way as checkout  Please see attached screen shot  Regards")*

Hi,

Then you want to keep that option as you had it and edit the file "cart" of the view "product" via the menu Display&gt;Views and change the line: Code:

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

to: Code:

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

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

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