Repository Forums Support WooCommerce Extended Coupon Features PRO Offer a free product based on checkbox selection on checkout

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16903
    sunnydadi
    Participant

    Hi There,

    We want to offer a free product to customers when they clik a checkbox at checkout for question Doyou want a free t shirt, when they click Yes, it should display the promotion with Multiple products.

    They can choose one, it will be added to cart.

    I was able to setup a coupon code with multiple free products for customer to choose.

    The only issue is displaying this promo only when they click yes on checkbox to get a free product.

    I tried to setup using your custom fields, but i cant enetr my own custom field except the onees in database.

    Is there any way we can achieve this?

    #16906
    Soft79
    Keymaster

    This can be done by overriding the template files.

    Copy

    wp-content/plugins/auto-added-coupons-pro/templates/*

    to

    wp-content/themes/YOUR-CHILD-THEME/auto-added-coupons/*

    You can for example hide the product selection by setting the

    to display: none and hide/show it using JavaScript.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.