Forums / Built-in Shipping and Payment Modules / Determine the cheapest shipping rate

Determine the cheapest shipping rate

Locked

Views: 2,152

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
11 Dec 2006, 7:43 AM
#1
arcane avatar

arcane

New Zenner

Join Date:
Nov 2006
Posts:
12
Plugin Contributions:
0

Determine the cheapest shipping rate

Hello to all.

I was wondering if there's a way to find the lowest rate calculated by the shipping modules.

We are currently using UPS and USPS (and later maybe FEDEX too). What we want is to enable only the module with the lowest calculated rate.

For example:

If upon shipping estimation UPS costs $8 (ground) and USPS is $3 (first-class mail), then only the USPS module will be shown and the other modules will be disabled.

Is this possible?

Thanks.

11 Dec 2006, 7:51 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Determine the cheapest shipping rate

By default all methods will be displayed with lowest-cost item automatically selected....

What if you customer does not want the cheapest (slowest) method and is willing to pay for overnight? Then you would not displaying this option if you do what you have suggested...

Answer is that this is not a setting that you can enable but could be customized if you know enough php to perform a a check and then alter the display of the methods.

Zen-Venom Get Bitten

11 Dec 2006, 11:31 PM
#3
arcane avatar

arcane

New Zenner

Join Date:
Nov 2006
Posts:
12
Plugin Contributions:
0

Re: Determine the cheapest shipping rate

Thanks for your response.

kobra:

What if you customer does not want the cheapest (slowest) method and is willing to pay for overnight? Then you would not displaying this option if you do what you have suggested...

All the methods of the shipping company will still be displayed. The customer still has the option of choosing his preferred method of shipping although he can only choose from the options of one company (UPS, USPS or Fedex). Which ever of them has the cheapest rates will be the one to be displayed.

Answer is that this is not a setting that you can enable but could be customized if you know enough php to perform a a check and then alter the display of the methods.
I know php (although i'm not an expert). If you could point me to the right direction (what files to change, settings to set), I believe i can do this.

Thanks again. :yes::yes::yes:

12 Dec 2006, 2:57 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Determine the cheapest shipping rate

Files in /includes/modules/shipping
/includes/languages/english/modules/shipping
/includes/templates/template_default/templates/tpl_checkout_shipping_default.php
and others with shipping

Zen-Venom Get Bitten

12 Dec 2006, 3:21 AM
#5
arcane avatar

arcane

New Zenner

Join Date:
Nov 2006
Posts:
12
Plugin Contributions:
0

Re: Determine the cheapest shipping rate

i'll attempt to do the changes. I will post the status when i'm finished.

Thanks again. :D:D:D

12 Dec 2006, 3:38 AM
#6
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Determine the cheapest shipping rate

<< Has to wonder when people will stop trying to make shipping over complicated... LOL

Zen cart PCI compliant Hosting

12 Dec 2006, 11:19 PM
#7
arcane avatar

arcane

New Zenner

Join Date:
Nov 2006
Posts:
12
Plugin Contributions:
0

Re: Determine the cheapest shipping rate

Merlinpa1969:

<< Has to wonder when people will stop trying to make shipping over complicated... LOL

:D We have the same opinion. but i don't have a choice. it's what my client wants.

Anyways, i haven't started yet. been busy with other projects. :yes: