Jump to content

Coupon codes were working, now they aren't - no major code changes since


Recommended Posts

This is all very confusing to me. I had tested the coupon codes numerous times before this site went live in August. Since then there have been no real changes in the function of the cart and everything that was cosmetic was not in that area of the site.

 

What's happening:

 

I can create a new voucher code in the admin, set all the settings to allow the code to be used by anyone on anything with no limitations. I also have the checkbox to show in cart summary checked.

 

When I enter the coupon code the page refreshes and.. nothing. No error, NOTHING.. it's driving me crazy.

 

I wanted to check to see if it just wasn't showing in the summary so I continued to the payment page and even there the coupon code was not applied.

 

I looked in the files to see if there was a hack attempt, but there was not/

 

I ran a javascript debug, and most times it tells me something, but there were only warnings, no errors - and I believe that the warnings were there before as a part of the prestashop core.

 

This is the warning:

Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() instead.

Link to comment
Share on other sites

Hi Lindsay,

I just took a look at this and it looks like there are a couple issues: First of all, now that you've added the "Complete Racks" category to your store, you need to update all of your various vouchers to be applicable to that new category as well.

 

But more importantly, you need to make sure to add a non-zero value to "Total Quantity" and "Qty per user" in order for them to be available for use by customers.

 

Please let me know if this works for you.

 

-Mike

Link to comment
Share on other sites

I'm sorry, I completely misread what you were saying.. I was half asleep at my desk at that time.

 

So I have figured out the problem/ I had to change the QTY per user to a non 0 integer AND the Total Quantity to something like 9999 - which I thought was supposed to be set to 0 for null.

Link to comment
Share on other sites

A similar thing has happened to me, we recently updated to 1.4.4.1 and now our discount codes, which were working without hitch before, aren't working. I can produce them without problem. All catorgories are highlighted and i've inputted numbers as above but still not working?

Link to comment
Share on other sites

Hi Daydreams,

First of all, I apologize for not getting back to you sooner; it appears that I was somehow unsubscribed from the notifications to this thread without ever realizing it. I don't think you can set a decimal as a minimum quantity, but it is strange that you're also having issues with that value set to 0.

 

Could you please PM me with your Back Office login credentials (username, password and admin URL) so that I can look into this for you?

 

-Mike

Link to comment
Share on other sites

  • 8 months later...
×
×
  • Create New...