1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Make a Shopping Cart site redirect to a different url on checkout

Discussion in 'General Programming Chat' started by spiritmolecule, Apr 12, 2012.

  1. spiritmolecule

    spiritmolecule Registered Member

    Joined:
    Oct 31, 2008
    Messages:
    62
    Likes Received:
    15
    What I want to do is have a shopping cart site (OsCommerce, Open Cart, or whatever else) present itself as a real store, but when the visitor clicks checkout, it will direct them to a secondary site of mine (to hide the source of traffic), which will then redirect them to the product they want to buy on Amazon via my affiliate link, instead of actually checking them out through the shopping cart software.

    I've been playing around with both OsCommerce and Open Cart for the last few days, but cannot figure out a way to do this.

    Is this possible? Are there any programmers here who think they can accomplish this task? If so, pm me with your price.

    Any help is appreciated.
     
  2. subpop138

    subpop138 Junior Member

    Joined:
    Dec 21, 2011
    Messages:
    137
    Likes Received:
    64
    Location:
    Harrisburg, PA USA
    I'm working on a similar setup but I haven't gotten to that step yet. My plan was to have the checkout button on the individual product page not go through the checkout system at all, but when clicked send to site 2, and then redirect to that product on Amazon. I plan on possibly hiding the actual checkout button and displaying my own "checkout" button that will act as a link to site 2. As I said, I haven't gotten there yet, but I planned on having to make the checkout button specific to each product page instead of using the actual shopping cart to forward the users. Hopefully that makes sense and is of some help. Post on this thread or PM me if you find an easier way.
     
    • Thanks Thanks x 1
  3. subpop138

    subpop138 Junior Member

    Joined:
    Dec 21, 2011
    Messages:
    137
    Likes Received:
    64
    Location:
    Harrisburg, PA USA
    just to clarify, what I'm talking about it just making a little image that says "checkout", and making it a clickable link where the links target is specific for that item on that page, and the same checkout button on a different page goes to it's respective item, and so on, all checkout buttons having a different target url, which is then fowarded. Damn it! I was trying to make this clearer and now it looks more confusing lol.
     
  4. artizhay

    artizhay BANNED BANNED

    Joined:
    Nov 21, 2010
    Messages:
    1,867
    Likes Received:
    1,335
    Do you have the Amazon link that is paired with each item in a table in the database? If so, PM me and I'll give you a price.

    If not, I can do this for you at an additional fee.

    Edit: After reading your second post, how does the intermediate page determine which Amazon URL to forward to? Is it in a database, or is there some parameter passed in the URL, etc.? PM me an example.
     
  5. deaftrip

    deaftrip Newbie

    Joined:
    Mar 23, 2012
    Messages:
    48
    Likes Received:
    8
    Occupation:
    Inspirer
    Location:
    South East Asia
    I was about to ask the same question before I saw artizhay's edit. I'll send you guys a PM to see if I can help out.
     
  6. subpop138

    subpop138 Junior Member

    Joined:
    Dec 21, 2011
    Messages:
    137
    Likes Received:
    64
    Location:
    Harrisburg, PA USA
    I was planning on using .htaccess 301/302 redirects so (site 1 checkout button-> site 2 product address 301/302'd ->specific Amazon page listed in htaccess for the redirect) As I mentioned, I haven't gotten to this part of the process yet, so I'm not 100% sure that method will be viable, but that is what I'm planning to try first.