Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Someone up for a challenge for Shipping costs ?

Someone up for a challenge for Shipping costs ?

Locked

Views: 639

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
30 Mar 2009, 6:35 PM
#1
batschi avatar

batschi

New Zenner

Join Date:
Mar 2009
Posts:
1
Plugin Contributions:
0

Someone up for a challenge for Shipping costs ?

Hi there...

Well here is the Challenge:

I modified already the zones.php... Modification was as following:

Shipping costs are charged by weight. So each Kilogramm gets charged in the zone rates ( so charges are $ 3.15/kg so shipping will cost $630 for this zone and so on and os on ).
Now i added also $0.35 on each charged kilogramm for the packaging.

The only problem is: When the customer changes the currencie the value 0.35 remains for every currency.

the code that i changed looks as following:

// charge per box when done by Price
$shipping_cost = ($shipping * $shipping_num_boxes * $shipping_weight + ($shipping_weight * 3.5)) + constant('MODULE_SHIPPING_ZONES_HANDLING_' . $dest_zone);
break;
case (MODULE_SHIPPING_ZONES_METHOD == 'Price'):

So who got an idea, that if the customer changes the currencie, it will calculate the right amount ?

Greets from Cape Town South Africa !!!

30 Mar 2009, 9:10 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Someone up for a challenge for Shipping costs ?

Get out of the code and add it in the admin when defining the shipping zone

Zone 1 Handling Fee > make it 11 or 12 %

I believe this will get you close