I need a pop-up on EXIT.
PREFERRED CODER WITH EXPERIENCE WORKING WITH ZEN-CART v1.3.7
1 - The pop-up will offer a discount coupon referenced from the "Admin Discount Coupon" (incentive to stay on website).
MUST TAKE ITS COUPON REFERENCE FROM THE DISCOUNT COUPON PAGE in the ADMIN.
2 - If the customer is logged on and ACCEPTS the coupon and CLICKS "yes/agree/add coupon" on the pop-up, the DISCOUNT COUPON will be immediately added to the total. (without the customer having to add the coupon code manually)
3 - If the customer is not logged on they will be given an alternate popup with admin specified discount coupon that does not need to be automatically applied. (only description with coupon code given)
4 - This MUST have control from the ADMIN section of ZEN-CART where:
- the admin can choose the Discount Coupon to be displayed on each POP-UP (not logged in popup1 or logged in popup2)
- In the ADMIN the controls allow for ENABLE / DISABLE each popup:
>NON LOGGED IN PAGE EXITS (popup1)
>LOGIN EXITS ONLY (popup2)
- in admin an option to only activate only when items are in the checkout for both popup1 or popup2
- if possible, an option to show popup "X" times per customer making it a limited offer (possibly setting cookie or option on MySQL to track IP or customer login ID? Coder recommendations requested)
5 - Option to change text in the popups (I am OK editing a file for this action but in admin section would be nice).