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 03-21-2002 17:09:57

RaptureMan
Member
Registered: 03-21-2002
Posts: 1

Flat Rate Shipping

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

 

#2 03-25-2002 10:09:14

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

Re: Flat Rate Shipping

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.


Nick Hendler

Offline

 

#3 06-21-2002 12:29:01

Guest
Guest

Re: Flat Rate Shipping

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.

 

#4 06-22-2002 09:34:25

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

Re: Flat Rate Shipping

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;


Nick Hendler

Offline

 

#5 06-22-2002 12:54:31

Guest
Guest

Re: Flat Rate Shipping

thank you very much.

 

Board footer