• Resolved guidomgs

    (@guidomgs)


    Hello!

    I could like to know if is any way to create coupons with this plugin’s special rules using php code or using api.

    I’m able to create regular woocoommerce coupons via PHP but Im not sure how to do it with the ‘give away’ option for example.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter guidomgs

    (@guidomgs)

    Also, I could like to confirm if the give away quantity can be the same as many products are. For example if I buy 2 mattress I can define to five away 2 pillows.

    Plugin Author WebToffee

    (@webtoffee)

    Hi @guidomgs,

    We currently do not have API support or the option to create coupons via code.

    The giveaway option does not increment the free product based on the quantity of qualifying products. We will add it to backlogs for future development considerations.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Coupon creation or duplication via api or php code’ is closed to new replies.