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.
Hello,
I'm unable to find an answer in the forum posts to a specific custom shipping script question......
I am using a custom shipping exclusively to calculate a shipping cost for every order.
My current shipping script presents one delivery method (ie road delivery) & price in the delivery information box on the checkout page. Can a second option (eg postage) be presented allowing a customer to select their preferred delivery method
If so, my current shipping script ends….
$custom = array($shipname => $shipcost);
$this->globals('ecom.customship_response',$custom);
?>
How would I amend this?
All items will be shipped from the same location using just one delivery method chosen by the customer.
Ideally it would be great to show both road and postage options, but if a certain criteria was met then to be able to "grey" out one of the options so as to make it non-selectable :-)
Finally, can the weight of an order be shown on the checkout page (presumably in delivery information box) when using a custom shipping script?
Thanks...
Offline
Yes. You need a second option in your $custom array, that's all. You could do:
$custom = array($shipname => $shipcost, $shipname2 => $shipcost2); $this->globals('ecom.customship_response',$custom);
Offline
Thanks...
Did not realise that it was that simply!
Can the weight of an order be shown on the checkout page (presumably in delivery information box) when using a custom shipping script?
Offline
Yes. Maybe just append it to your shipping methods. Like:
$shipname .= ' (Weight: ' . $info['weight'] . ' lbs)'; $custom = array($shipname => $shipcost, $shipname2 => $shipcost2); $this->globals('ecom.customship_response',$custom);
Offline