Shipping options on our website are based upon date and time.
We have two delivery options "ASAP" and "Future Date & Time".
The ASAP option only allows one shipping module. I tried cloning the shipping module and using shipping zones, but i get errors because of date and time restrictions.
$asapInputName='ship-asap-asap';
I need an if statement that shows asap when shipping zone Minnesota and shows asapclone when shipping zone South Dakota. I don't know how to create the if statement but I think it would look something like the following.
if (shipping zone == 'Minnesota') {
$asapInputName='ship-asap-asap';
}
elseif (shipping zone == 'South Dakota') {
$asapInputName='ship-asapclone-asapclone';
}
Any help is greatly appreciated. Thank you


Reply With Quote

