Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discount Coupon's activate/deactivate setting in the screen don't work #8908

Closed
soyket opened this issue Oct 1, 2021 · 3 comments · Fixed by #8909
Closed

Discount Coupon's activate/deactivate setting in the screen don't work #8908

soyket opened this issue Oct 1, 2021 · 3 comments · Fixed by #8909
Assignees
Labels
Milestone

Comments

@soyket
Copy link

soyket commented Oct 1, 2021

Bug Report

Expected behavior

When you go to EDD > Discount Codes > Hover over a Discount code > Click Activate / Deactivate to change the status, it should update the status but it doesn't.

The status is only updated when I enter the discount code's edit screen fully and edit it there.

I am on the latest version of the plugin btw.

@cklosowski
Copy link
Contributor

Interestingly enough, the 'quick actions' show us the Activate link, meaning that I think we're caught up in an object level caching issue here.

@cklosowski
Copy link
Contributor

Found the issue, the update_status method was only updating the post_status and not also updating the status meta value.

@soyket
Copy link
Author

soyket commented Oct 2, 2021

Nice. @cklosowski :) glad you found and resolved it soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants