hello,
how do i include coupon restrictions such as rooms to exclude or include, number of nights, etc when generating a coupon?
thank you
]]>We would like to apply the 10% discount if:
1. someone stays for more than 5 days.
2. someone book any of the rooms for more than 3 days.
But in WP Hotel Coupon giving only one option to give a discount depending upon a minimum and maximum cart amount.
Please help me to setup the required coupon. We do not want to go through woocommerce checkout process.
Thanks!
]]>Hello,
Thank you very much for this good extension.
I find an issue, on the screen “view chart”, you can bypass the minimum spend affected to your coupon by just remove one of the room.
Scenario :
– Create a coupon xx with minimum spend 200 $
– Select one first room < 200 $
– Select one other room so that the total > 200$
– go on view chart screen
– Apply the coupon => ok because all condition are respected (function validate())
– remove one of the room => coupon still present even if total < 200$ = minimum spend
The function validate() is not call when one of the room is removed. I think the function function remove_cart_item() should be adapted to avoid this issue.
Thanks in advance !
Simon
+33 6 67 00 61 03