Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can anyone help?


ScriptThis13

Recommended Posts

Posted

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!!!

Posted
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>

Posted

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.

Posted
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... :'(

Posted
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.

Posted
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...

Archived

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

×
×
  • Create New...