WPIntell

Source evidence

What Function Does Your Plugin Check with Conditional Coupons?

Auto Coupons for WooCommerce · support · 2023-09-19T14:25:00+00:00

mixedsentiment
mediumseverity
0.85relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 26 rows with source links

15.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
deeeesign resolved
We’re testing out this plugin with WooCommerce Subscriptions, to auto-apply subscription-only coupons for specific quantities. It’s working great for that function. We also purchased and installed this plugin: https://shopplugins.com/plugins/toolbox-for-woocommerce-subscriptions/ so that customers can edit all of their subscription details on the My Account page. However, that plugin does not check for coupons or other discounts before saving the customer’s changes. When we reached out to their support, they asked us if we could ask you guys, “which function or code piece does the conditional code check”, to see if they can hook into that function and check it before saving the changes. Hi @designnewdaymediacom , The Auto Coupons plugin checks a few different things, but it can be most summarized into the return value from is_coupon_valid() and the coupon’s postmeta data of meta_key=’_wc_auto_apply’ and meta_value=’yes’. I hope this is enough information to resolve your issue. Please let me know if you require any further details. This ticket is closed, but if you have further related questions you may post them here.

Comments

2 shown
RLDD 2023-09-19T18:38:00+00:00

Hi @designnewdaymediacom , The Auto Coupons plugin checks a few different things, but it can be most summarized into the return value from is_coupon_valid() and the coupon’s postmeta data of meta_key=’_wc_auto_apply’ and meta_value=’yes’. I hope this is enough information to resolve your issue. Please let me know if you require any further details.

RLDD 2023-09-24T08:15:00+00:00

This ticket is closed, but if you have further related questions you may post them here.