lebexpress Posted August 1, 2008 Share Posted August 1, 2008 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! Link to comment https://forums.phpfreaks.com/topic/117690-pass-the-total-and-quantity-from-my-cart-to-the-checkout-page/ Share on other sites More sharing options...
paul2463 Posted August 1, 2008 Share Posted August 1, 2008 $_SESSION['qty']=$quanty; if that is a direct copy from your code, it doesnt work because quantity is spealt wrong!!! Link to comment https://forums.phpfreaks.com/topic/117690-pass-the-total-and-quantity-from-my-cart-to-the-checkout-page/#findComment-605388 Share on other sites More sharing options...
lebexpress Posted August 3, 2008 Author Share Posted August 3, 2008 I made it like that on purpose so it wont get confused with the total quantities ordered, but thank you though! I got it to work I appreciate everyone's help. Thanks. Link to comment https://forums.phpfreaks.com/topic/117690-pass-the-total-and-quantity-from-my-cart-to-the-checkout-page/#findComment-606534 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.