Repository Forums Support WooCommerce Extended Coupon Features PRO Please Add Weight as a Constant

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #17396
    Heidi Maskelyne

    Could you please add weight targets in coupon settings please. you use cart count so

    get_cart_contents_weight() shouldn’t be too much of issue to add

    Presently we we check weight and programically apply the coupon code and then programically remove the coupon

    Would love to see weight as option in coupon settings


    Instead of removing the coupon you could use filter woocommerce_coupon_is_valid and let it throw an Exception(“The coupon does not apply to the total cart weight”) if the cart weight does not match.

    Maybe I’ll add a weight setting in the future.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.