Close

subTotalDiscount

sbecoso
4 years ago
#20919 Quote
Avatar
  • 1
Hello,

I'm trying to display subTotalDiscount on the chekout page but I can't figure out how to do it

I'm sure a discount is already applied

I tried to remove ng-show="vm.orderTotalData.subTotalDiscount" but the amount is empty?

Could you help me please ?

Renaud
todor.atanasov
4 years ago
#20920 Quote
Avatar
  • Moderator
  • 249
sbecoso wrote:
Hello,

I'm trying to display subTotalDiscount on the chekout page but I can't figure out how to do it

I'm sure a discount is already applied

I tried to remove ng-show="vm.orderTotalData.subTotalDiscount" but the amount is empty?

Could you help me please ?

Renaud


Greetings,

It should be displayed automatically if your discount is applied and the discount type is set to "Assigned to order total".

However, if you are using a discount type "Assigned to products", the discount will be shown next to each product that has that discount applied, but not in the final discount field.

This is the default nopCommerce behavior and I just tested it on my end even without the One Page Checkout plugin (with the Default Clean theme), so even if you disable our plugin, you should still see the same results.

Please let me know what type of discount you are using so I can assist you further.
Best regards,
Todor Atanasov
Nop-templates.com