Repository Forums Support WooCommerce Extended Coupon Features PRO Coupon to apply to items only ending in .90

Topic Resolution: Resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4273
    andy3
    Participant

    I am looking to have a 20% off coupon only apply to items that end in .90

    All of our clearance items end in .90 and certain customers receive a code to take an additional 20% off that clearance price. We also have other items in the Sale category that are not part of the clearance, so I cannot just let it be used on Sale Category items alone.

    How would I setup a custom field operator to do this?

    I’m thinking something with “_sale_price” field.

    Thank you for your help,

    Andy

    #4283
    Soft79
    Keymaster

    This *should* be possible, but I notice there seems to be a bug in WooCommerce that prevents this from working as expected. I will get back to you about this.

    #4285
    Soft79
    Keymaster

    I applied a patch to version 3.0.6 of our plugin that fixes the issue.

    You can then use custom field “_sale_price” value: “%.90”

    #4339
    Soft79
    Keymaster

    Any luck?

    #4340
    andy3
    Participant

    Thanks for reaching out – I always appreciate your help. I haven’t been able to test it yet, but it’s on my list this week. I’ll definitely let you know!

    #4495
    andy3
    Participant

    This worked perfectly for us thank you!

    So now an add on question – so our sale moves from 20% off all items ending in $.90 to the following:

    20% off most expensive item ending in $.90
    30% off the 2nd most expensive item ending in $.90
    40% off the 3rd+ items ending in $.90

    Is something like this possible with the priorities above?

    Thank you for your help as always.

    Andy

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