I am using Version 5.2.005. I am using Startlogic as my host (and cannot change it). PayPal is the gateway.
Here are the other shipping options in the shipping manager
in what loop.......................................... 3
handling charge..................................... 1.00
handling charge type..............................fixed
add handling if total=0.............................no
alternate origins.....................................no
enable shiping dimensions........................[blank]
custom shipping logic..............................no
SBW......................................................yes
How many custom shipping methods........[blank]
allow USPS............................................no
allow UPS...............................................yes
max weight..........................................THIS is the ISSUE
display prod id........................................yes
connection............................................LWP
UPS origin.............................................60120
UPS pickup type...................................Customer Pickup
UPS methods......................................... ground, 1 day air, 2 day air
The Paypal order form is below:
Code:
<HTML>
<HEAD>
<TITLE>Step One - Shipping Address</TITLE>
</HEAD>
<!--agorascript-orderform
# $sc_use_secure_header_at_checkout = 'yes';
&PayPal_order_form_prep;
return '';
-->
<BODY BGCOLOR="#ffffff">
<H2>CART CONTENTS HERE</H2>
</form><form method="post" action="agora.cgi">
<CENTER>
<TABLE class="ac_checkout">
<!--agorascript-pre
if ("$sc_paypal_top_message" ne "") { return
q~<TR>
<TD COLSPAN="2"><br><blockquote>$sc_paypal_top_message</blockquote></TD>
</TR>~
;}
-->
<TR>
<TD COLSPAN="2">
<P> </P>
</TD>
</TR>
<TR>
<TD>
<TABLE>
<TR>
<td colspan=2 class="ac_checkout_top_col">
Please enter shipping address to compute your shipping costs <br>
and sales tax (shipped to IL). All fields required</td>
</tr>
<tr>
<td class="ac_checkout_left_col">Method:</td>
<td class="ac_checkout_right_col">
<!--PASTE SHIPPING METHODS FROM SHIPPING MANAGER BELOW - REPLACE ENTIRE SHIPPING SELECT ELEMENT-->
<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="UPS Ground (GND)">UPS Ground (7-10 days)</option>
<option value="UPS 3 Day Select (3DS)">UPS 3 Day Select (3-4 days)</option>
<option value="UPS 2nd Day Air (2DA)">UPS 2nd Day Air</option>
<option value="UPS Next Day Air (1DA)">UPS Next Day Air</option>
</select>
<!--PASTE SHIPPING METHODS FROM SHIPPING MANAGER ABOVE THIS - REPLACE ENTIRE SHIPPING SELECT ELEMENT-->
</td>
</TR>
<tr>
<td class="ac_checkout_left_col">First name</td>
<td class="ac_checkout_right_col">
<input type="text" name="Ecom_ShipTo_Postal_Name_First"
value="$vform_Ecom_ShipTo_Postal_Name_First" size="30" maxlength="30">
</td>
</tr>
<tr>
<td class="ac_checkout_left_col">Last name</td>
<td class="ac_checkout_right_col">
<input type="text" name="Ecom_ShipTo_Postal_Name_Last"
value="$vform_Ecom_ShipTo_Postal_Name_Last" size="30" maxlength="30">
</td>
</tr>
<tr>
<td class="ac_checkout_left_col">Street:</td>
<td class="ac_checkout_right_col">
<input type="text" name="Ecom_ShipTo_Postal_Street_Line1"
value="$vform_Ecom_ShipTo_Postal_Street_Line1" size="30">
</td>
</tr>
<tr>
<td class="ac_checkout_left_col">City:</td>
<td class="ac_checkout_right_col">
<input type="text" name="Ecom_ShipTo_Postal_City"
value="$vform_Ecom_ShipTo_Postal_City" size="30">
</td>
</tr>
<tr>
<td class="ac_checkout_left_col">State/Province:</td>
<td class="ac_checkout_right_col">
<select name="Ecom_ShipTo_Postal_StateProv">
<option value="$vform_Ecom_ShipTo_Postal_StateProv">$vform_Ecom_ShipTo_Postal_StateProv </option>
<OPTION>AK</OPTION>
<OPTION>AL</OPTION>
<OPTION>AR</OPTION>
<OPTION>AZ</OPTION>
<OPTION>CA</OPTION>
<OPTION>CO</OPTION>
<OPTION>CT</OPTION>
<OPTION>DC</OPTION>
<OPTION>DE</OPTION>
<OPTION>FL</OPTION>
<OPTION>GA</OPTION>
<OPTION>HI</OPTION>
<OPTION>IA</OPTION>
<OPTION>ID</OPTION>
<OPTION>IL</OPTION>
<OPTION>IN</OPTION>
<OPTION>KS</OPTION>
<OPTION>KY</OPTION>
<OPTION>LA</OPTION>
<OPTION>MA</OPTION>
<OPTION>MD</OPTION>
<OPTION>ME</OPTION>
<OPTION>MI</OPTION>
<OPTION>MN</OPTION>
<OPTION>MO</OPTION>
<OPTION>MS</OPTION>
<OPTION>MT</OPTION>
<OPTION>NC</OPTION>
<OPTION>ND</OPTION>
<OPTION>NE</OPTION>
<OPTION>NH</OPTION>
<OPTION>NJ</OPTION>
<OPTION>NM</OPTION>
<OPTION>NV</OPTION>
<OPTION>NY</OPTION>
<OPTION>OH</OPTION>
<OPTION>OK</OPTION>
<OPTION>OR</OPTION>
<OPTION>PA</OPTION>
<OPTION>RI</OPTION>
<OPTION>SC</OPTION>
<OPTION>SD</OPTION>
<OPTION>TN</OPTION>
<OPTION>TX</OPTION>
<OPTION>UT</OPTION>
<OPTION>VA</OPTION>
<OPTION>VT</OPTION>
<OPTION>WA</OPTION>
<OPTION>WI</OPTION>
<OPTION>WV</OPTION>
<OPTION>WY</OPTION>
<OPTION value=""></OPTION>
</select>
</td>
</tr>
<tr>
<td class="ac_checkout_left_col">Zip/Postal Code:</td>
<td class="ac_checkout_right_col">
<input type="text" name="Ecom_ShipTo_Postal_PostalCode"
value="$vform_Ecom_ShipTo_Postal_PostalCode" size="11" maxlength="11">
</td>
</tr>
<tr>
<td class="ac_checkout_left_col">Country:</td>
<td class="ac_checkout_right_col">
<SELECT NAME="Ecom_ShipTo_Postal_CountryCode">
<OPTION VALUE="$vform_Ecom_ShipTo_Postal_CountryCode">$vform_Ecom_ShipTo_Postal_CountryCode
<OPTION>United States
</SELECT></td>
</tr>
<tr>
<td class="ac_checkout_left_col" colspan=2><input type="checkbox" name="Ecom_is_Residential" value="Ship to Residential Address"> Check if this is a Residential Address?
</td>
</tr>
<!--agorascript-pre
# inspired from solutions submitted from Dan at CartSoutions.net
if ("$sc_display_checkout_tos" =~ /yes/i) { return
q~
<td colspan=2 class="ac_checkout_top_col">
Terms of Service & Our Contact Information</td>
</tr>
<tr>
<td colspan=2>
$sc_tos_display_address<br><br>
You must read the following link before you can continue: <br> <A HREF="agora.cgi?page=terms_of_service.html" TARGET="_blank"><b>Sales/Terms of Service and Refund Policy</b></A>.<br>
Then put a tick in the box below. By selecting "I Agree" you are acknowledging that you have read and agree to our policies contained within that page.
<br><br>
<input type="checkbox" name="Ecom_tos" value="I Agree"> I Agree and have read the Terms of Service listed above (required to continue)<br><br></td>
</tr>
~;} -->
<td colspan=2 class="ac_checkout_top_col">
E-mail Address and Special Instructions</td>
<tr>
<td class="ac_checkout_left_col">E-Mail for Confirmations:<br><font size="1"> (Required)</font></td>
<td class="ac_checkout_right_col">
<input type="text" name="Ecom_BillTo_Online_Email"
value="$vform_Ecom_BillTo_Online_Email" maxlength="55">
<br><font size="1"> Example: 1234567_9876543210@comcast.net</font>
</td>
</tr>
<!--agorascript-pre
if ("$sc_enable_discount" =~ /yes/i) {
if ("$sc_storewide_discount" ne "0") { return
q~
<tr>
<td class="ac_checkout_left_col">Discount Code:</td>
<td class="ac_checkout_right_col">
<input type="hidden" NAME="Ecom_Discount" value="storewide">
<i>Storewide Sale going on. No other discounts can be applied.</i>
</td>
</tr>
~;
} else { return
q~
<tr>
<td class="ac_checkout_left_col">Discount Code:</td>
<td class="ac_checkout_right_col">
<input type="text" NAME="Ecom_Discount" value="$vform_Ecom_Discount" size="22" maxlength="30">
</td>
</tr>
~;
}
} elsif ("$sc_storewide_discount" ne "0") { return
q~
<tr>
<td class="ac_checkout_left_col">Discount Code:</td>
<td class="ac_checkout_right_col">
<input type="hidden" NAME="Ecom_Discount" value="storewide">
<i>Storewide Sale going on. No other discounts can be applied.</i>
</td>
</tr>
~;
}
-->
<td colspan=2><br/></td>
</tr>
<tr>
<td class="ac_checkout_left_col">Special Notes:</td>
<td class="ac_checkout_right_col">
<textarea name="Ecom_XCOMMENT_Special_Notes" cols="50" rows="5">$vform_Ecom_XCOMMENT_Special_Notes</textarea>
</td>
</tr>
<TR>
<TD COLSPAN="2" ALIGN="CENTER"><INPUT
TYPE=HIDDEN NAME="gateway" VALUE="PayPal"><INPUT
TYPE=submit NAME = "submit_order_form_button"
VALUE = "Please Click Here To Continue Purchase"></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</CENTER>
</FONT>
</CENTER>
</FORM>
</BODY>
</HTML>
The question is how can I change the Weight Per box in the shipping manager to anything other than 0, 1, or 2?
A second, easier question is:
Can I make the Country pre-filled to the United States since it is the only otpion?
Code:
<SELECT NAME="Ecom_ShipTo_Postal_CountryCode">
<OPTION VALUE="$vform_Ecom_ShipTo_Postal_CountryCode">$vform_Ecom_ShipTo_Postal_CountryCode
<OPTION>United States
</SELECT>