Skip to main content

Checkout shows correct discount but cart doesn't

12 years 4 months ago #163430 by optimized
-- 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_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

Please Log in or Create an account to join the conversation.

12 years 4 months ago #163458 by nicolas
Hi,

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

Please Log in or Create an account to join the conversation.

12 years 4 months ago #163545 by optimized
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 or Create an account to join the conversation.

12 years 4 months ago #163586 by nicolas
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>Views and change the line:
Code:
echo $this->currencyHelper->format(@$this->element->coupon->discount_value*-1,@$this->element->coupon->discount_currency_id);
to:
Code:
echo $this->currencyHelper->format(@$this->element->coupon->discount_value_without_tax*-1,@$this->element->coupon->discount_currency_id);

Please Log in or Create an account to join the conversation.

Time to create page: 0.051 seconds
Powered by Kunena Forum