any gmail address. Once youve configured all settings, select Publish and your coupon is ready to use. Add_action( 'woocommerce_before_cart 'apply_matched_coupons' function apply_matched_coupons global woocommerce; get1 'getonech / your coupon code here get2 'gettwoch / your coupon code here get3 'getthreech / your coupon code here get4 'getfourch / your coupon code here get5 'getfivech / your coupon code here if (. If the restrictions are no longer met, it will silently be removed from the cart. Note: The sum of the cart subtotal tax is used to determine the minimum amount. Once split between items, any remainder is applied one line item at a time until exhausted. This field is only displayed if there is one or more products that the coupon can be used with, and is configured under the Usage Restrictions. If you do not do this, a refresh is required before user will see updated totals when discount is removed. Feature: Allow coupon in cart even if minimum spend not reached feature: New coupon feature: Minimum / maximum price subtotal of matching products in the cart cosmetic: Admin Extended coupon features in multiple tabs FIX: Create session cookie if no session was initialized when applying.
Woocommerce automatically apply coupon
Applying Coupons To Orders Back to top In WooCommerce.2 coupons can be added to (or removed from) orders in the Edit Order screen. Description (optional) Info about coupon,.g., Dates in effect, promotion, compensation, ticket number. Per-cart coupons do not work if a sale item is added afterward. ' : err; add_filter( 'woocommerce_coupon_error 'wpq_coupon_error 10, 2 function wpq_coupon_error( err, err_code ) return ( '103' err_code )? If it doesn't, create. Feature: New coupon feature: Excluded customer role restriction feature: New coupon feature: Customer / customer role restriction feature: New coupon feature: Minimum / maximum quantity of matching products in the cart feature: New coupon feature: Allow auto coupons to be applied silently (without displaying.
(PRO) FIX: limit_usage_to_x_items: Possible wrong discount on combination of limit_usage_to_x_items and _wjecf_apply_discount_to.3.2 feature: Display custom error message when coupon is invalidated by this plugin FIX: apply_coupon redirected to wrong url when home_url contained a subdirectory FIX: Remove add-to-cart when redirecting for apply_coupon FIX: Auto. 2.2.0 FIX: Lowered execution priority for apply_coupon by url for combinations with add-to-cart. If function global woocommerce; coupon_code 'independencedaysale bc_coupon_start_date ' 17:00:00 bc_coupon_end_date ' 06:59:59 / Only apply coupon between 12:00am on 7/1/2013 and 11:59pm on 7/7/2013 PST. 2.3.1 FIX: wpml Compatibility for AND Products / AND Categories FIX: Redirect to page without?apply_coupon after applying coupon by url FIX: Auto coupon meta_query issue (thanks to hwillson) FIX: Compatibility with WooCommerce prior.2.9 (WC_Cart:get_cart_item) (PRO) FIX: Free products: Add variant attributes to cart.