OscarOkisam Posted June 11, 2015 Share Posted June 11, 2015 (edited) 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 June 11, 2015 by OscarOkisam (see edit history) Link to comment Share on other sites More sharing options...
pishkus Posted June 11, 2015 Share Posted June 11, 2015 (edited) My guess is your voucher discount amount is greater than order total and you have "Partial use" set to Yes. Is it true? Edited June 11, 2015 by pishkus (see edit history) Link to comment Share on other sites More sharing options...
OscarOkisam Posted June 11, 2015 Author Share Posted June 11, 2015 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now