Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Remove free item from cart › Reply To: Remove free item from cart
June 28, 2017 at 4:31 pm
#1590
Soft79
Keymaster
Hi,
This is the way the plugin is designed. If you’re comfortable with template overrides, you can override coupon-select-free-product.php from the template/ directory of this plugin by placing it in:
wp-content/YOUR_THEME/woocommerce-auto-added-coupons/coupon-select-free-product.php
and then adding this snippet before the tag:
<input type="radio" id="<?php echo $field_id; ?>" name="<?php echo $name_prefix; ?>[selected_product]" value="" />
<label for="<?php echo $field_id; ?>">No product</label><br>
That adds an option to select ‘no product’.