Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error at delivery info


t3chno

Recommended Posts

hi, i cant insert delivery infos at dbase. i create this form.

 

i add this at create_acc.php

		$suburb = tep_db_prepare_input($HTTP_POST_VARS['suburb']);
$deliverysuburb = tep_db_prepare_input($HTTP_POST_VARS['deliverysuburb']);
etc..

 

in clasess/order.php

   $shipping_address = array('entry_firstname' => $sendto['receivername'],
	'entry_suburb => $sendto['deliverysuburb'],
	etc..

 

but i cant understand this

if ( ($this->content_type != 'virtual') && ($sendto == false) ) {
	$sendto = $customer_default_address_id;
  }

where is the $sendto array... its always null

 

where i must change...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...