Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2004
    Location
    Up t'north, UK
    Posts
    305
    Plugin Contributions
    0

    Default New Signup Discount Coupon - by country

    Hi

    I have created a discount coupon to give a 10% discount on signup.

    I have restricted discount coupon this to all new customers from France only - I did this when creating the coupon in admin - gift certificates/coupons - coupon admin.

    I then selected this coupon for signup coupon in admin - configuration - GV coupons

    BUT all customers from wherever in the world get details of this signup coupon in their welcome email!

    How do I stop all other customers (non France) from receiving details of this signup coupon in their welcome emails. I had hoped that restricting it to just France when creating the coupon would have automatically only added this offer to cusomers signing up from France (those using specific 'France' drop down country name).

    Am I missing something (as usual) or is this not possible?

    Many thanks.

    Rob
    if elephants could fly, I'd be a little more optimistic....

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New Signup Discount Coupon - by country

    This would need to be customized to check the restriction for the zone as that is not built into Zen Cart on the Welcome Discount Coupon ...

    It can, however, be customized to do this extra check ...

    Have you got your coder hat on?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2004
    Location
    Up t'north, UK
    Posts
    305
    Plugin Contributions
    0

    Default Re: New Signup Discount Coupon - by country

    I do indeed have my coder hat on, just need a little help from my friend...........

    Rob
    if elephants could fly, I'd be a little more optimistic....

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New Signup Discount Coupon - by country

    Look in the module:
    /includes/modules/create_account.php

    The zone info is set around line 329:
    Code:
        $_SESSION['customer_first_name'] = $firstname;
        $_SESSION['customer_default_address_id'] = $address_id;
        $_SESSION['customer_country_id'] = $country;
        $_SESSION['customer_zone_id'] = $zone_id;
        $_SESSION['customers_authorization'] = $customers_authorization;
    The coupon is sent around line 361:
    Code:
        if (NEW_SIGNUP_DISCOUNT_COUPON != '' and NEW_SIGNUP_DISCOUNT_COUPON != '0') {
    you need to add the additional criteria for the zone at this point ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Apr 2004
    Location
    Up t'north, UK
    Posts
    305
    Plugin Contributions
    0

    Default Re: New Signup Discount Coupon - by country

    Linda McGrath

    You are a tease (in the nicest sense of the word of course). I have not got that big a coder's hat. I thought you might give me more code......... lol.

    I will need to try to understand what to do.

    Thanks for the pointer though.

    Rob
    if elephants could fly, I'd be a little more optimistic....

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New Signup Discount Coupon - by country

    I will have to break down and fool with the code to give you specific details on the changes for this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Apr 2004
    Location
    Up t'north, UK
    Posts
    305
    Plugin Contributions
    0

    Default Re: New Signup Discount Coupon - by country

    Hi Linda

    That would be above and beyond and gratefully received - thank you.

    Rob
    if elephants could fly, I'd be a little more optimistic....

  8. #8
    Join Date
    Apr 2004
    Location
    Up t'north, UK
    Posts
    305
    Plugin Contributions
    0

    Default Re: New Signup Discount Coupon - by country

    Hello Linda

    Have you managed to have time to look at this at all. No problems if not as this level of support is indeed above and beyond - just thought I would ask though. :)

    Thank you

    Rob
    if elephants could fly, I'd be a little more optimistic....

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New Signup Discount Coupon - by country

    Well ... umm ... no ...

    But it is on the list of things to do ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Apr 2004
    Location
    Up t'north, UK
    Posts
    305
    Plugin Contributions
    0

    Default Re: New Signup Discount Coupon - by country

    LOL

    Yeah I have one of those lists too.

    No probs and thanks.

    Rob
    if elephants could fly, I'd be a little more optimistic....

 

 

Similar Threads

  1. setting default country during signup?
    By denniszc in forum General Questions
    Replies: 6
    Last Post: 12 Aug 2013, 02:18 PM
  2. v139h New Signup Customer Coupon.
    By artyfarty in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 28 Jan 2012, 03:09 PM
  3. Trouble understanding "1st Discount Coupon" and "New Signup" discount
    By STFlats in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 24 Aug 2008, 10:04 PM
  4. New Customer Discount Coupon....
    By everlost in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 3 Jun 2007, 04:48 AM
  5. New Customer Discount Coupon
    By clydejones in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 8
    Last Post: 3 Apr 2007, 03:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR