Jump to content

Coupon code and promotion simultaneously - problem


camereroloco

Recommended Posts

Hi,

I've got a question how to edit (I guess) Product.php to make Presta calculate coupon's code discount from retail price (base price) and not from promotion price.

Example:

iPod price: 100$

iPod promo price: 80$

Coupon code: 20%

 

Presta calculates it like this: (iPod promo price)-(iPod promo price*0,20)

I want it to calculate like this: (iPod price)-(iPod price*0,20) even if product is on the promotion right now. So simply i want coupon code to completly ignore promotion price.

Is it a way to achieve it?

Edited by camereroloco (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...