eCart session variables
I Just cant get it.
I am starting to produce photobooks.
My books assembly software loaded onto users computer assembles the files to a folder, the finished files are sent to my FTP site and the user logs onto my cart page with link address similar to this: http://localhost:/Shop-Photobooks.php?pgx=32&pid=274&job_id=Cards_475"
I can "Get" the data for the number of pages, (pgx=32) calculated from page price in data base, the product ID (pid=274) from product ID in data base, and I can display the Job_id number ( Cards_475). These item display and calculate properly. I want the job_id to be carried forward and displayed on the cart summary page, the confirm page and the cart success page. This JobID is related to the folder on my FTP site and it is important to have the job_id displayed on the success page/invoice as this is the way the customer can have reference to his job.
I can display the job_id number if I include it in the URL but I cannot get it to carry over to any or all three pages.
I just know it is simple but no luck.
I have used this code to display URL items on the cart page.
Line11 after:
<?php
$Spectrum_online->GetContent();
?>
<?php
session_start();
// store session data
$_SESSION['PBksID']=$_GET['job_id'];
?>
body
html
This in a table cell:
<?php
//retrieve session data
echo "Job identification=". $_SESSION['PBksID'];
?>
can you point me in the correct direction please.
Thanks
David