Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / how can I add a popup to show a coupon discount code if cart total is high enough?

how can I add a popup to show a coupon discount code if cart total is high enough?

Locked

Started by stevend on 1 Feb 2010, 11:03 PM · Views: 1,542

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
1 Feb 2010, 11:03 PM
#1
stevend avatar

stevend

New Zenner

Join Date:
May 2006
Posts:
16
Plugin Contributions:
0

Post #1 by stevend

I need to popup or display specific checkout discount code to people who spend over xxx amount into their carts

I don't want to advertise these codes, just display them to the people who have enough items in their cart to qualify.

I thought to do a check within the cart sidebox itself, checking the ..

$_SESSION['cart']->show_total()

So that when it is larger a specific amount, display a small image or link in the bottom of the cart that can display the code, or maybe this should be a popup, but then it might get blocked.

Anyone any ideas on the best way to impliment this..

Regards

Steven