Jump to content

Cart rules created after using a voucher coce


Recommended Posts

Hi there!

 

So we have created 100 voucher codes with a script using our client's shop webservice. All went ok, but when a customer uses a voucher code and the order created, Prestashop is creating automatically a new voucher code with the same attributes except the code, which is the same but adding "-2".

 

Any idea of what can be causing this?

 

Thanks in advance

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

My guess is your voucher discount amount is greater than order total and you have "Partial use" set to Yes. Is it true?

 

Your guess is completely right, there is a partial discount set on shipping cost, so a voucher code was created with the amount of this discount.
 
Thank you pishkus :)
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...