#2218 new
Aaron D. Campbell

Promo Codes losing data on edit

Reported by Aaron D. Campbell | April 10th, 2013 @ 02:07 PM

I haven't had a chance to dig into this and see if it's an issue related to the WP 3.6 beta or not, but here's what happens:

  • Add a promo that's a percentage off and based on a match to a code "testcode".
  • Test it in the cart and see that it works
  • Edit the promo and you see that the place where you added the promo code has been reset and the code isn't there.

The rules variable in the JS is set and is valid JSON. The problem seems to be a JS error that may be caused around this code (but I haven't tracked it far enough to be sure):

  valuefield(c['value']).unbind('keydown').unbind('keypress').suggest(
        suggurl+'&action=shopp_suggestions&s='+c['source'],
        { delay:500, minchars:2, format:'json', value:c['suggest'] }
    );

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Plugin e-commerce for WordPress

Shared Ticket Bins

People watching this ticket