Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2010
    Posts
    100
    Plugin Contributions
    0

    Default Add a new session variable and save to order?

    I did some search but was unable to find the answer:

    I want to add a session variable, and save it to the order. What should be the best way to do that? (assume I can add a new column to the order table for it)

    For example, I may use this session variable to save the referral URL to my page.

    How do I add a session variable? What are the files I should change? And which file is responsible for saving an order.

    Thanks a lot.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Add a new session variable and save to order?

    For example, I may use this session variable to save the referral URL to my page.
    Don't mess with sessions
    There are a couple of affiliate 3rd party modules in the free software addons, link above left, that can bu used
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2010
    Posts
    100
    Plugin Contributions
    0

    Default Re: Add a new session variable and save to order?

    Quote Originally Posted by kobra View Post
    Don't mess with sessions
    There are a couple of affiliate 3rd party modules in the free software addons, link above left, that can bu used
    Well, it doen't mean I can't try to learn how to make a better one. :-)

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Add a new session variable and save to order?

    Well, it doen't mean I can't try to learn how to make a better one.
    The existing ones would be a good place to begin
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v150 Can I add another variable to the session?
    By tifischer in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Jul 2013, 08:29 PM
  2. v150 how can i add session variable with it file path ?
    By tony_sar in forum General Questions
    Replies: 3
    Last Post: 14 Feb 2012, 01:50 PM
  3. how to add a new session variable?
    By delia in forum General Questions
    Replies: 11
    Last Post: 13 Oct 2011, 02:51 PM
  4. order step 2->3 session variable info required
    By torvista in forum General Questions
    Replies: 4
    Last Post: 9 Mar 2011, 11:49 PM
  5. How do i add a new session variable?
    By rosebabu in forum General Questions
    Replies: 0
    Last Post: 7 May 2008, 03:03 PM

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