Question

Discussion in 'Making Money' started by jozvaldo, Dec 14, 2012.

  1. jozvaldo

    jozvaldo Junior Member

    Joined:
    Dec 22, 2008
    Messages:
    194
    Likes Received:
    18
    Having finally taken action - I am almost ready to put my project into action and see how well it does however I am missing one final piece of my jigsaw and cannot find it anywhere (Ive searched high and low). I basically need a simple (for a coder) redirect script).

    Please don't hammer me and tell me to use the search button as I have and what I have found doesn't give me the desired results......

    Answers on a postcard gratefully received

    Thanks
     
  2. cgimaster

    cgimaster Power Member

    Joined:
    Jun 30, 2012
    Messages:
    526
    Likes Received:
    311
    Gender:
    Male
    There you go ;P
    Code:
    <?php
    header( 'Location: http://www.yoursite.com/page.html' ) ;
     
  3. nativepro

    nativepro Power Member

    Joined:
    Jan 30, 2010
    Messages:
    541
    Likes Received:
    533
    Code:
    <script type="text/javascript"> <!-- window.location = "http://www.google.com/" //--> </script>
     
    • Thanks Thanks x 1
  4. jozvaldo

    jozvaldo Junior Member

    Joined:
    Dec 22, 2008
    Messages:
    194
    Likes Received:
    18
    Ok I seem to be able to get the redirect working when hitting add to cart individual products but ideally I would like to get the contents of my cart redirected to the cart of the merchant all in one go when I hit checkout......can anyone she some light on this as Im not a coder??

    Thanks again