POSTing variable from cart to thank you page.

2 replies
We're using 1shopping cart and do not have full access to the form elements, coding etc. We can put our own HTML etc into the header and footer areas of the page, that's all.

I need to try to post the variable "orderid" to the thank you page once someone checks out. Either to the page somehow or the URL, it doesn't matter either way.

Any advice on how to do this? Thanks!
#cart #page #posting #variable
  • Profile picture of the author grim1208
    What is the extension of the file? .html, .asp, .php ???

    If you're trying to POST the orderid variable, with php you'd capture the data this way:
    <?php
    $orderid = $_POST['orderid']; //this store the data into $orderid
    echo $orderid; //this will print the variable to the page so place where you need
    ?>
    {{ DiscussionBoard.errors[3791569].message }}
  • Profile picture of the author sidharthbanyal
    you can put that in query string.
    Signature

    Luck is dividend of Sweat. More you Sweat More you get luckier.

    {{ DiscussionBoard.errors[3793182].message }}

Trending Topics