Repository Forums Support WooCommerce Extended Coupon Features PRO Help with value field for custom Fields for _weight

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20485
    Abhishek Shrestha
    Participant

    Hi,

    We are trying to set coupon usage restriction based on the custom value _weight.

    Right now, if we set values for example, 0.4 and 0.9, in two separate lines, it is working if the cart weight is either 0.4 or 0.9

    However, we want something more complex and want the coupon to apply for range from 0.1 to 0.99.

    Could you please let us know what values to put in the text box to achieve this.

    Regards,

    #20487
    Soft79
    Keymaster

    You can use:

    >= 0.1
    <= 0.99

    #20488
    Abhishek Shrestha
    Participant

    Thanks for getting back, however, this did not work. After adding it, now, the coupon applies regardless of the weight of the cart.

    Here is the setting applied as suggested: https://ibb.co/whRjpSG

    #20493
    Soft79
    Keymaster

    You need to use Custom Field Operator AND and enter the two values on 2 different lines (2 different input boxes). There was a bug in the AND logic though, so please upgrade to 3.3.5 of the plugin as well.

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