If this is your first visit, check our documentation. To post, register or login.
Forums / Built-in Shipping and Payment Modules / Can I make something other than "cheapest" be the default shipping rate?

Can I make something other than "cheapest" be the default shipping rate?

Locked

Started by netuser on 24 Jun 2008, 1:47 PM · Views: 1,587

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
24 Jun 2008, 1:47 PM
#1
netuser avatar

netuser

New Zenner

Join Date:
Jun 2008
Posts:
21
Plugin Contributions:
0

Can I make something other than "cheapest" be the default shipping rate?

I dont want the cheapest to be selected by default, as the chepeast method of shipping is Free flat rate and it is not recommended. I prefer people to take other mehtod which is DHL (table) . How can invert the cheapset to expensve ? I think cheapest() is a finction declared somewhere, would like to use the opposite if anyoen can please help

thanks alot

25 Jun 2008, 10:12 AM
#2
toeyt avatar

toeyt

New Zenner

Join Date:
Mar 2007
Location:
Ayutthaya, Thailand
Posts:
21
Plugin Contributions:
0

Re: Can I make something other than "cheapest" be the default shipping rate?

There is "cheapest" function in "shipping" class.
You probably can change the function or add a new function to the class and use it...

Toey Thongprajiad
www.TTTzone.com

26 Jun 2008, 9:10 AM
#3
netuser avatar

netuser

New Zenner

Join Date:
Jun 2008
Posts:
21
Plugin Contributions:
0

Re: Can I make something other than "cheapest" be the default shipping rate?

toeyt:

There is "cheapest" function in "shipping" class.
You probably can change the function or add a new function to the class and use it...

I dont know much about php :( isnt there any way to say the opposite of cheapeset in checkout ?

Btw where in which file is the class shipping ?

thanks

27 Jun 2008, 1:03 AM
#4
peale avatar

peale

New Zenner

Join Date:
May 2008
Posts:
10
Plugin Contributions:
0

Re: Can I make something other than "cheapest" be the default shipping rate?

Good question; I'd like to implement this as well.

27 Jun 2008, 10:49 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Can I make something other than "cheapest" be the default shipping rate?

What market are you in? Why would it make sense to suggest that the customer pay the most expensive choice?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Jun 2008, 3:09 AM
#6
toeyt avatar

toeyt

New Zenner

Join Date:
Mar 2007
Location:
Ayutthaya, Thailand
Posts:
21
Plugin Contributions:
0

Re: Can I make something other than "cheapest" be the default shipping rate?

netuser:

I dont know much about php :( isnt there any way to say the opposite of cheapeset in checkout ?

Btw where in which file is the class shipping ?

thanks

The class files are in /includes/classes/ directory.

Toey Thongprajiad
www.TTTzone.com