I'm trying to have only these two options (fed-X ground; fed-X 2nd day; no handling) but the shipping isn't working correctly; too many options are shown when I try the cart :?: .  Can someone help?  Thanks.
1. Here's what I have in Offlineorderform.html:
<SELECT NAME="Ecom_ShipTo_Method">
<!--agorascript-pre 
 if ("$vform_Ecom_ShipTo_Method" ne "") {
   return '<OPTION value="$vform_Ecom_ShipTo_Method">' . 
	'$vform_Ecom_ShipTo_Method  </OPTION>' . 
	'<OPTION VALUE="Fed-X Ground">Standard Shipping 5-7 days';
  } else {
   return '<OPTION VALUE="Fed-X Ground" CHECKED>Standard 5-7 days';
  }
--></OPTION>
<OPTION VALUE="Fex-X Ground">
Fed-X Ground</OPTION>
<OPTION VALUE="Fed-X 2nd Day">
Fed-X 2nd Day</OPTION>
</SELECT></TD>
2. Here's what I put in shipping logic:
$ship_method = $form_data{'Ecom_ShipTo_Method'};
if ($ship_method eq "") { # try vform, perhaps there is a value there
  $use_vform = "yes";
  $ship_method = $vform{'Ecom_ShipTo_Method'};
 }
if ($ship_method eq "") { # set a default value
  $ship_method="Fed-X Ground";
  }
@sc_shipping_logic = ( "|1-50|||7.95", 
                       "|50.01-70|||9.95", 
                       "|70.01-100|||11.95", 
                       "|100.01-125|||13.95",
                       "|125.01-150|||14.95",
                       "|150.01-|||9%"); 
#
$shipping_price = &calculate_shipping($temp_total, 
                  $total_quantity, $total_measured_quantity);
if ($ship_method eq "") { # set a default value
  $ship_method="Fed-X 2nd Day";
  }
@sc_shipping_logic = ( "|1-50|||14.95", 
                       "|50.01-70|||6.95", 
                       "|70.01-100|||17.95", 
                       "|100.01-125|||20%",
                       "|125.01-150|||19%",
                       "|150.01-|||7%"); 
#
$shipping_price = &calculate_shipping($temp_total, 
                  $total_quantity, $total_measured_quantity);
$ship_logic_done = 'yes';
Thanks
Michael
www.camlawblog.com
			
			
_________________
Michael H. Cohen
www.camlawblog.com
		
	

 
 

 
            
 
                  



 
	




