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.
Hello,
I am setting up CCP, and wanted to know if there was a way to set it up for flat rate shipping. What I want to do is something like;
Order total $0-$50 = $10.95
Order total $50-$100 = $15.95
Order total $100-$200 = $20.95
I tried to set it up in the shipping options, but it would add $10.95 for EACH item ordered.
Am I overlooking something simple that can make this happen? Thanks in advance for your help!
In friendship,
Erich
Offline
Edit the custom shipping script at:
./cgi-bin/library/custom/site_store_shipping_custom.pl
The script already there does exactly what you need - just change the amounts and ranges. Then turn on custom shipping in the administrator.
Offline
I also have a question regarding Flat Rate:
I have a client that wants to charge just $4.95
for any size order. How would I code that please?
Would I just put $4.95 in each level? There would be no
free shipping level though.
Your help would be appreciated.
That is very simple. Take a look at this script:
#######################################################################
# Sub Site Store Shipping Custom #
#######################################################################
sub site_store_shipping_custom {
$custom_shipping_method_name = "Standard";
$custom_shipping_method_total = "4.95";
print <<ENDOFTEXT;
<INPUT TYPE="HIDDEN" NAME="trship" VALUE="$custom_shipping_method_name::$custom_shipping_method_total">
The cost to ship your order is $currency_symbol$custom_shipping_method_total.<BR><BR>
ENDOFTEXT
}
#######################################################################
# Return True Value For End Of File #
#######################################################################
1;
Offline
thank you very much.