Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 07-15-2002 16:19:36

symeon
Member
Registered: 07-15-2002
Posts: 35

Shipping charges

Want to set up a percentage shipping with a minimum charge.
Can you tell me how to do this?  I have the info for the percentage shipping but how do I include the minimum charge?

Thank you

Offline

 

#2 07-16-2002 08:20:34

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Shipping charges

You would follow pretty much the same instructions, just tweak that script a bit.  Set the price = to something instead of a %.


Nick Hendler

Offline

 

#3 07-19-2002 13:07:20

Guest
Guest

Re: Shipping charges

What I am looking for is how to include the minimum shipping charge with the percent shipping charge.  We charge 10% s&h with a $6.00 minimum.

Thank you,

 

#4 07-19-2002 18:20:01

Guest
Guest

Re: Shipping charges

How about 0 to $60.00 shipping is $6.00.  And $60.00 to $XX.XX shipping is 10%?

 

#5 07-20-2002 09:12:24

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Shipping charges

#######################################################################
# Sub Site Store Shipping Custom                                      #
#######################################################################

sub site_store_shipping_custom {

$custom_shipping_method_name = "Standard";
$ship_calc_total = "$final_form_display_order_subtotal";
$ship_total_quantity = "$form_display_total_quantity";
$ship_total_weight = "$form_display_total_weight";

if ($ship_calc_total >= "0" && $ship_calc_total <= "60.00") {

$temp_shipping_total = "6.00";

} elsif ($ship_calc_total > "60.00") {

$temp_shipping_total = ($ship_calc_total * .10);

} ######### End of if statement.

$shipping_total = sprintf("%.2f", $temp_shipping_total);

print <<ENDOFTEXT;

<INPUT TYPE="HIDDEN" NAME="trship" VALUE="$custom_shipping_method_name::$shipping_total">

There is currently one available shipping option. The cost to ship your order is $currency_symbol$shipping_total.<BR><BR>

ENDOFTEXT

}

#######################################################################
# Return True Value For End Of File                                   #
#######################################################################

1;


Nick Hendler

Offline

 

Board footer