Post by gavin m » Sat Feb 26, 2011 10:48 pm

I was wondering if it's possible, or already done by someone in an extension, to restrict coupons to selected Geo Zones?

I'd like the ability to do regional specific specials using coupons..... :crazy:

Active Member

Posts

Joined
Thu Jun 04, 2009 3:23 pm

Post by openmycart.com » Sun Feb 27, 2011 12:50 am

and how do you announcing your coupon code? in that page You can use conditional statement

Find and get many various of opencart modules, themes, mods, etc for your opencart store at http://www.openmycart.com/oc/, OPENCART SITE customization and Maintenance supports at here


User avatar
Active Member

Posts

Joined
Tue Oct 12, 2010 4:47 am


Post by gavin m » Sun Feb 27, 2011 1:04 am

Yes, I have done that before, but that doesn't stop the coupon from being used for orders to a country I say it can't be used for. Then I have to refund the order and that increases my paperwork.

Some times, people don't read what you type.....

It would just be nice to have the ability to select geo zones for a coupon, the same way you can select products.

Active Member

Posts

Joined
Thu Jun 04, 2009 3:23 pm

Post by openmycart.com » Sun Feb 27, 2011 1:59 am

Yeah that I mean with "in that page You can use conditional statement" You could do this at least in 2 ways.
let say we will block it at shipping page, so You can put the conditional statement code there.
e.g. in shipping.tpl or shipping.php file the logic can be as following:
if found zone_id = 2 selected use coupon code to true else to false

Find and get many various of opencart modules, themes, mods, etc for your opencart store at http://www.openmycart.com/oc/, OPENCART SITE customization and Maintenance supports at here


User avatar
Active Member

Posts

Joined
Tue Oct 12, 2010 4:47 am


Post by jmagro » Thu Nov 15, 2012 12:31 am

Do you have the actual code that will make this work? I would like to run a promotion available only for 48 continuous US states.

New member

Posts

Joined
Thu May 12, 2011 3:31 am
Who is online

Users browsing this forum: jp1077 and 77 guests