You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Pages: 1
The problem with putting the word free in the line is that in the state of California that is illegal.
UPS - Ground shipping - FREE
Is there a way to change it to say included?
I am using the custom method, here it is.
$info = $this->globals('ecom.customship');
$method = 'UPS - Ground shipping';
if ($info['total'] >= '15' && $info['total'] <= '45.00') {
$custom = array($method => '20.00');
} elseif ($info['total'] > '45.00' && $info['total'] <= '99.99') {
$custom = array($method => '20.00');
} elseif ($info['total'] > '99.99' && $info['total'] <= '3500') {
$custom = array($method => '0');
} else {
$custom = array($method => '0.00');
} // End of if statement.
$delinfo = array('stateprov' => $info['stateprov'],
'country' => $info['country'],
'postalcode' => $info['postalcode'],
'rescom' => $info['rescom'],
'shipstateprov' => $info['shipstateprov'],
'shipcountry' => $info['shipcountry'],
'shipzip' => $info['shipzip'],
'shipmethods' => 'UPSTOOLS',
'shiptype' => 'R');
$result = $this->include_namespace('ecom','shiprealtime',array('delinfo' => $delinfo, 'packages' => $info['packages']));
foreach ($result as $num => $service) {$custom[$service['name']] = $service['amount'] + $handling;}
$this->globals('ecom.customship_response',$custom);
?>
Can I edit out the string ?
Thanks.
Offline
Damn. First CA outlaws guns, now free stuff. Geez. You can adjust that here:
Store > Component > Settings > Language Strings
Change 'String: FREESHIPPING' to something like 'No Charge'.
Offline
Thanks Nick!
That was a big shock to read this. It only applied to wine merchants in California, but to all savvy web masters, here is the article.
http://www.winesandvines.com/template.c … o.email%3E
Happy reading.
Offline
Pages: 1