本文整理汇总了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}';