Jump to content

Pass the $total and $quantity from my cart to the checkout page


lebexpress

Recommended Posts

Thank you very much for the reply! First, the total amount worked! thank you! I am just not sure about the getting the quantity since it's entered by the used , I have

 

in the loop:

$quantity = $_POST['quantity'];

 

I tried to the same thing i used to get the total for the quantity as you kindly suggested:

$_SESSION['qty']=$quanty;  //(in the view cart page) and called it in the submit_order page

 

$quanty=$_SESSION['qty'];

echo "THE QUANTITY IS $quanty";   

 

but it did not give any results while it was supposed to give 5 as the quantity I had for a one item i selected to be in the cart . If you have any suggestions, it'd be greatly appreciated, and thank you for being proffessional in your previous reply!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.