ScriptThis13 Posted October 26, 2007 Posted October 26, 2007 Hi all-Ive been trying to figure this out for days. Ive had no luck. When confirming your order information ...delivery address, cart items, shipping method, billing address...etc. There is NO information displayed under the delivery address OR billing address in the boxes...where can I find the code that controls those? Any help is greatly appreciated. Thanks!!!
Jan Zonjee Posted October 26, 2007 Posted October 26, 2007 When confirming your order information ...delivery address, cart items, shipping method, billing address...etc. There is NO information displayed under the delivery address OR billing address in the boxes...where can I find the code that controls those? That information is pulled from the object/class order (includes/classes/order.php) e.g. around line 145: <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br>'); ?></td>
ScriptThis13 Posted October 26, 2007 Author Posted October 26, 2007 AWESOME---Im gonna check it out right now, I was gettin desperate. Ive been tryin to figure this out for the past 6 hours. I hope I can find it there. Its like the checkout_confirmation page cant find the shipping or billing address info to display it. Thanks so much..Ill post back if this works...I was gonna start beggin for help.
ScriptThis13 Posted October 26, 2007 Author Posted October 26, 2007 That information is pulled from the object/class order (includes/classes/order.php) e.g. around line 145: <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br>'); ?></td> Ok that line I think i knew about in the checkout-confirmation area--I know that line pulls the date from order.php...what I cant figure out, is why on the checkout confirmation page, that actual information is not displaying...its like it cant find it... :'(
Jan Zonjee Posted October 26, 2007 Posted October 26, 2007 Ok that line I think i knew about in the checkout-confirmation area--I know that line pulls the date from order.php...what I cant figure out, is why on the checkout confirmation page, that actual information is not displaying...its like it cant find it... :'( Perhaps you can better echo $order first, e.g. in the footer on that page: echo '<pre>Order<br>'; print_r($order); echo '<pre>'; Compare that with the information in the database (customers_basket I guess) and see what goes wrong.
ScriptThis13 Posted October 26, 2007 Author Posted October 26, 2007 Perhaps you can better echo $order first, e.g. in the footer on that page: echo '<pre>Order<br>'; print_r($order); echo '<pre>'; Compare that with the information in the database (customers_basket I guess) and see what goes wrong. I kinda get the concept of what you are sayin, but could you break it down a lil more? Im sorry, Im still trying to learn the PHP world...
ScriptThis13 Posted October 28, 2007 Author Posted October 28, 2007 Im still kinda lost, can anyone help me figure out why checkout-confirmation cant find the customers billing or shipping address in checkout???
Recommended Posts
Archived
This topic is now archived and is closed to further replies.