%@ LANGUAGE="VBSCRIPT" %>
<% PageStrings = "400, 450, 451, 490, 506, 507, 508, 509, 510, 511, 512, 513, 862, 979, 982, 1016"
strThisBackPage = "config" %>
<%
'===============================================
' CactuShop ASP Shopping Cart
' ©1999-2004 Cactusoft Ltd. www.cactusoft.com
'===============================================
' All rights reserved.
' Use of this code is covered by the terms and
' conditions in the license agreement. No
' unauthorized duplication or distribution is
' permitted. Cactusoft's copyright notices must
' remain in the ASP sections of the code.
'===============================================
'-----------------------------------------------
'MODIFY SHIPPING RATE
'This page lets the store owner bring up and
'modify the shipping rates for each of the
'zones. Whether rates are calculated based on
'weight or order price can be set from the
'config setting 'calcshipcostbyweight'.
'-----------------------------------------------
'-----------------------------------------------
'PULL OUT SHIPPING PRICE RECORDS
'-----------------------------------------------
strQuery = "SELECT * FROM tblCactuShopShippingRates INNER JOIN tblCactuShopShippingMethods ON tblCactuShopShippingRates.S_ShippingMethod = tblCactuShopShippingMethods.SM_ID ORDER BY S_ShippingMethod, S_Zone, S_Boundary"
Call ExecuteSQL(strQuery, numCursorType, objRecordSet)
'-----------------------------------------------
'DETERMINE HOW THE ORDER COST IS CALCULATED
'-----------------------------------------------
if Application(LICENSENUMBER & "calcshipcostbyweight") = "y" then
strOrderCalculation = GetString("ContentText_CalculatedByOrderWeight")
else
strOrderCalculation = GetString("ContentText_CalculatedByOrderValue")
end if
%>
<% =GetString("Config_headtitle") %>
|
| <% WriteString("PageTitle_ShippingRates") %> |
<% If Application(LICENSENUMBER & "shippingsystem") <> "c" then %>
| <% WriteString("ContentText_UPSReminder") %> |
<% else %>
| (<% =strOrderCalculation %>) |
<% end if %>
|
|
<%
objRecordSet.Close
objDataConn.Close
set objDataConn = nothing
%>