Hi I am searching in this forum for days, and can not find the answer to my problem.
Any help is appreciated.
I need to use combination of Custom and USPS API.
if the order weight is <.5 I want to charge 1.99
anything else need to be from API.
my custom logic is
@sc_shipping_logic = ( "USPS Priority Mail (Priority)||-.2||1.19");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
settings are:
In what loop of calculate_final_values do you wish to calculate the shipping? 3
Handling Charge Type: Flat Rate
Add handling Charge if shipping total is Zero? yes
Use Alternate Origins? no
Use the custom shipping logic? yes
When to run custom shipping logic? before
If using Custom Logic, is shipping measured by weight? yes
How Many Custom Shipping Methods Do You Need? 1
Use the Live/Real-Time SBW (Ship By Weight for UPS/USPS) module yes
Allow Shipments via which services?
USPS: yes UPS (non-XML): no
also, if I add new name to custom logic and add it to the order form, what would happen if customer selects this option and criteria does not qualify?
Thank you in advance.