Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2011
    Posts
    34
    Plugin Contributions
    1

    Default coupon code on first page

    Hi,

    just a query! currently the discount coupon option is set on the "checkout payment" page, i would like to place the coupon option on the "shopping cart" page. However instead of rewriting the entire code for zen cart i manage to trick zen cart into thinking that the user entered the coupon code during the "shopping cart" page by creating a input box and writing the coupon code to the session id for the coupon code, i.e:

    During the "shopping cart" stage if i set:

    $_SESSION['cc_id'] = 6;

    it makes zen cart think that the coupon id was set to 6 (coupon code 6 was selected). And this works perfectly. however i was just wondering if there are any consequence in setting the coupon code earlier on during the checkout stages? so far everything is going well, but is there anything i should be aware of before i move on??

  2. #2
    Join Date
    Nov 2004
    Location
    Portugal
    Posts
    28
    Plugin Contributions
    0

    Default Re: coupon code on first page

    Hi, i need to put the box coupon in another page...anyone does how do this?

    Thanks.

  3. #3
    Join Date
    Nov 2004
    Location
    Portugal
    Posts
    28
    Plugin Contributions
    0

    Default Re: coupon code on first page

    any help here?

    Thanks!

  4. #4
    Join Date
    Nov 2011
    Posts
    34
    Plugin Contributions
    1

    Default Re: coupon code on first page

    I've tried it, but it's not 100%, getting mixed results and a lot of errors. will post in future when i get more time to work on it

 

 

Similar Threads

  1. Discount code / coupon for a customers first order
    By ray-the-otter in forum General Questions
    Replies: 4
    Last Post: 24 May 2013, 03:55 PM
  2. Changing text on Coupon Code page?
    By hachaliah in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 24 Mar 2009, 04:43 PM
  3. Adding a coupon code to payment page
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Dec 2008, 03:51 AM
  4. how can I code in a default coupon code into checkout page redeem, then auto-refresh?
    By lankeeyankee in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 29 Nov 2008, 04:56 AM

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