本文整理匯總了PHP中customer::set_tollfree方法的典型用法代碼示例。如果您正苦於以下問題:PHP customer::set_tollfree方法的具體用法?PHP customer::set_tollfree怎麽用?PHP customer::set_tollfree使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類customer
的用法示例。
在下文中一共展示了customer::set_tollfree方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
}
}
if ($error === false) {
$customerInfo->set_firstname($customer_first_name);
$customerInfo->set_lastname($lastname);
$customerInfo->set_email_address($email_address);
$customerInfo->set_dob($dob);
$customerInfo->set_street_address($street_address);
$customerInfo->set_postcode($postcode);
$customerInfo->set_city($city);
$customerInfo->set_country_id($customer_country_id);
$customerInfo->set_company($company);
$customerInfo->set_zone_id($customer_zone_id);
$customerInfo->set_state($state);
$customerInfo->set_telephone($telephone);
$customerInfo->set_tollfree($tollfree);
$customerInfo->set_fax($fax);
$customerInfo->set_newsletter($newsletter);
if (isset($_POST['affiliate_id'])) {
$customerInfo->set_affiliate_id($_POST['affiliate_id']);
}
$customerInfo->create($customer_id);
if (smn_session_is_registered('customer_store_id')) {
$customerInfo->update_store_admin();
$customersStore->set_store_name($new_store_name);
$customersStore->set_store_category($_POST['store_catagory']);
$customersStore->set_store_description($_POST['store_description']);
$customersStore->update_store_info();
$customersStore->put_store_category();
}
echo '{success:true}';