Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Add a coupon that adds a coupon › Reply To: Add a coupon that adds a coupon
July 21, 2017 at 8:23 am
#1695
Soft79
Keymaster
That is not possible with the plugin.
Instead of creating Coupon1, it’s fairly easy (for a developer) to create a PHP script for this. More or less like this: (psuedo code)
if ($number_of_widgets >=2 and $number_of_widgets < 4) {
echo ('please add ' . 4 - $number_of_widgets . ' widgets for a great offer! );
}
Implement this in strategical positions of the theme (e.g. using actions)