Checkout shows correct discount but cart doesn't

  • Posts: 122
  • Thank you received: 0
10 years 10 months ago #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_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

Attachments:

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

  • Posts: 83931
  • Thank you received: 13586
  • MODERATOR
10 years 10 months ago #163458

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.

  • Posts: 122
  • Thank you received: 0
10 years 10 months ago #163545

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.

  • Posts: 83931
  • Thank you received: 13586
  • MODERATOR
10 years 10 months ago #163586

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:

echo $this->currencyHelper->format(@$this->element->coupon->discount_value*-1,@$this->element->coupon->discount_currency_id);
to:
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.081 seconds
Powered by Kunena Forum