I 'think' I have my logic set up correctly:
@sc_shipping_logic = ( "Brisbane||1-||44.00"
"Gold Coast||1-||44.00"
"Sunshine Coast||1-||44.00"
"Acacia Ridge||1-||0.00");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
and in my order form:
<SELECT NAME=Ecom_ShipTo_Method>
<OPTION value="$vform_Ecom_ShipTo_Method"><!--agorascript-pre
if ("$vform_Ecom_ShipTo_Method" eq "") {
return " Select Shipping Method ";
} else {
return "$vform_Ecom_ShipTo_Method";
}
--></OPTION>
<OPTION VALUE="Brisbane">
Brisbane Metro</option>
<OPTION VALUE="Gold Coast">
Gold Coast</option>
<OPTION VALUE="Sunshine Coast">
Sunshine Coast</option>
<OPTION VALUE="Acacia Ridge">
Pickup from Acacia Ridge</option>
</SELECT>
BUT
I would like shipping charges to show through after verifying and order in the subtotals and have literally 'lost' the piece of code and where to put it somehow. Have had a look through an original offline order form but it has me stumped.
I have numerous other options to add in but the above will get me started.
Also - where on the "Option Value" line do I put the charge for that particular delivery (eg Sunshine Coast $44.00)?
Thank you for your help in advance - have racked my brain on all this and checked the forum but am at wits end!
Needless to say I think I love this Agora stuff! It's taken me a lot of perserverence but I'm coming up with the goods slowly!
Brenda