[FIXED!] [BUG] Discount function settings UI - editing bulk price rule fails

When editing a discount with multiple created redemption codes, saving fails with Cannot update code for a bulk price rule.

This is correct, the code cannot be updated, and should be included/ignored based on the discount code count for that price rule.

For example:

discount.codeCount > 1 ? {
  ....myCodeInput
} :  {
  ....myCodeInput,
  code: title
}

Hey again @bkspace - appreciate you flagging all of these discount issues, sorry for tagging you a bunch today :laughing:

I did some investigation into this issue here and it may be related to one we’ve seen in the past. Would you be able to share the discount code’s GID and any associated price rule IDs?

I can use those to dig into this further on my side. Speak soon!

Sure! Appreciate you looking into all of these, and yes they’re all in the same space, hah!

id: 1454767931616

(let me know if that’s not enough to find the bugger!)

@Alan_G - I’ve just re-tested this, and the issue doesn’t exist anymore

1 Like

Sounds good @bkspace, glad it seems to be resolved! If you do see the issue pop up again or a similar one, just ping me in this thread and I can take a look for sure. :slight_smile:

1 Like