Close

Discount price display

Damir
2 years ago
#14496 Quote
Avatar
  • 24
Hi, I've got an issue with the theme when working with discounts. When I lower the price on one product both old and new price are shown in product listings. However, if I create a discount and apply it on a category for example, only the new price is displayed. It's bad because showing an old price too helps selling more products... People like discounts.

On detail page the old price is also shown, but what I can see it doesn't play well with variants. If I have some price-changing attributes, only the discounted price is changed when I choose one of these. It looks very weird with those price differences. So I guess my questions is what I can do to show both prices in listings so people can see they got discount, and also, what to do to show old price with price-changing attributes chosen.
Boyko
2 years ago
#14499 Quote
Avatar
  • Moderator
  • 1483
Damir wrote:
Hi, I've got an issue with the theme when working with discounts. When I lower the price on one product both old and new price are shown in product listings. However, if I create a discount and apply it on a category for example, only the new price is displayed. It's bad because showing an old price too helps selling more products... People like discounts.

On detail page the old price is also shown, but what I can see it doesn't play well with variants. If I have some price-changing attributes, only the discounted price is changed when I choose one of these. It looks very weird with those price differences. So I guess my questions is what I can do to show both prices in listings so people can see they got discount, and also, what to do to show old price with price-changing attributes chosen.


Hi Damir,

I don't think this is a problem in the theme but this is how nopCommerce show prices in general.
You can try switching to the DefaultClean theme and you will see the same behavior.
Please note that our themes are consistent with how nopCommerce works and we do not change any of the price logic in the themes.
Regards,
Boyko Stanev
Nop-Templates.com
Damir
2 years ago
#14501 Quote
Avatar
  • 24
OK, thank you for the answer, I'll try asking the same in nopCommerce forum. It's weird though that regular price is not shown together with discounted one...
Boyko
2 years ago
#14502 Quote
Avatar
  • Moderator
  • 1483
Damir wrote:
OK, thank you for the answer, I'll try asking the same in nopCommerce forum. It's weird though that regular price is not shown together with discounted one...


Hi Damir,

Yes, you are right. For example on our website (at the time of writing Nop-Templates.com runs on nopCommerce 3.90) we have modified the code to show the old price and the discounted price when using discounts (not old/new price).
Regards,
Boyko Stanev
Nop-Templates.com
mavera1
one month ago
#21118 Quote
Avatar
  • 1
Boyko wrote:
OK, thank you for the answer, I'll try asking the same in nopCommerce forum. It's weird though that regular price is not shown together with discounted one...

Hi Damir,

Yes, you are right. For example on our website (at the time of writing Nop-Templates.com runs on nopCommerce 3.90) we have modified the code to show the old price and the discounted price when using discounts (not old/new price).


So is it possible to share the code you applied? I use 4.00 but it doesn't matter.




Thanks