Re: Shipping per Categories
This is designed to assign a single rate to each Category for pricing.
So it will not work like Per Unit perweightunit that uses the Product Weight to determine the shipping cost of a Product.
It will not work like Zone Rate zones that uses either Item, Weight or Price to determine the shipping costs based on specific country zones.
Can you be more specific in describing what it is exactly that you are trying to do with shipping? :lookaroun
Re: Shipping per Categories
Ajeh -
thanks for giving me the chance to speak it out :-)
I am planning to ship items from at least (for now) two different locations in the world. The majority of the categories (with products originated in Budapest, Hungary) will include items that use the Zone Rate module to calculate the shipping from that origin.
But there are (for now) some products (I grouped them in a separate category) that originate in a whole different location (say NYC, USA).
What can I do to calculate the shipping rate depending from where the product originates?
I was thinking of grouping the products that originate from a different location in one separate category and handle that category with a different shipping module (preferably Zone Rate).
Please let me know if I am making sense.
thanks!
g
Re: Shipping per Categories
What are the settings in your Zone Rates zones right now?
Basically, are you trying to say:
3 Products from categories_id 12 ship from New York so 3 * $2.75 = $8.50
2 Products from categories_id 15 ship from Florida so 2 * 1.75 = $3.50
then add that to the Zone Rates zones shipping amount?
Or, do you want do something like that, but each Zone defined in Zone Rates zones has a different shipping cost for the two different categories_id?
Re: Shipping per Categories
Thanks Ajeh -
The latter of your reply. The products shipped from FL should have a different shipping cost than the ones sent from NYC. It is going to be more drastic than that since we are talking of products shipped from two different locations in the world so shipping cost to customer has to be calculated relative to their origins.
hope I am making sense.
thanks
g
Re: Shipping per Categories
I really need to know what settings you are using in the Zone Rates zones shipping ...
Go to the Modules ... Shipping ... and click on Zone Rates zones shipping and post what is in the right hand panel ...
Are the shipping costs for the two Categories the same for all shipping zones?
Re: Shipping per Categories
Thanks Ajeh!
Are the shipping costs for the two Categories the same for all shipping zones?
No. I want them to be different calculated in relation from where those shipments are originating.
I didn't instal your mod yet though. This is a fresh ZC v1.5.1 install.
Here it is what I have in the Zone Rate:
Zone Based Rates for UPS
Enable Zones Method
True
Calculation Method
Weight
Tax Class
--none--
Tax Basis
Shipping
Sort Order
0
Skip Countries, use a comma separated list of the two character ISO country codes
Zone 1 Countries
Zone 1 Shipping Table
Zone 1 Handling Fee
0
Handling Per Order or Per Box Zone 1 (when by weight)
Order
Zone 2 Countries
HK,
Zone 2 Shipping Table
0.5:31, 1.0:35, 1.5:39, 2.0:43, 2.5:47, 3.0:52, 3.5:57, 4.0:62, 4.5:67, 5.0:72, 5.5:73, 6.0:75, 6.5:77, 7.0:78, 7.5:80, 8.0:81, 8.5:82, 9.0:83, 9.5:85, 10.0:86, 10.5:87, 11.0:88, 11.5:89, 12.0:90, 12.5:91, 13.0:91, 13.5:92, 14.0:93, 14.5:93, 15.0:94, 15.5:95, 16.0:96, 16.5:97, 17.0:98, 17.5:98, 18.0:99, 18.5:99, 19.0:99, 19.5:99, 20.0:100, 20.5:104, 21.0:104, 22.0:109, 23.0:114, 24.0:119, 25.0:124, 26.0:129, 27.0:134, 28.0:139, 29.0:144, 30.0:149, 31.0:154, 32.0:159, 33.0:164, 34.0:169, 35.0:174, 36.0:179, 37.0:184, 38.0:189, 39.0:194, 40.0:199, 50.0:228, 60.0:274, 70.0:319, 80.0:362, 90.00:407, 100.0:448,
Zone 2 Handling Fee
0
Handling Per Order or Per Box Zone 2 (when by weight)
Order
Zone 3 Countries
Zone 3 Shipping Table
3:8.50,7:10.50,99:20.00
Zone 3 Handling Fee
0
Handling Per Order or Per Box Zone 3 (when by weight)
Order
Zone 4 Countries
Zone 4 Shipping Table
3:8.50,7:10.50,99:20.00
Zone 4 Handling Fee
0
Handling Per Order or Per Box Zone 4 (when by weight)
Order
Zone 5 Countries
US,CA, MX, PR
Zone 5 Shipping Table
0.5:18, 1:22, 1.5:26, 2:30, 2.5:34, 3:37, 3.5:41, 4:44, 4.5:47, 5:51, 5.5:54, 6:57, 6.5:108, 7:114, 7.5:119, 8:125, 8.5:127, 9:130, 9.5:132, 10:134, 10.5:136, 11:138, 11.5:140, 12:142, 12.5:144, 13:147, 13.5:149, 14:151, 14.5:153, 15:155, 15.5:158, 16:160, 16.5:163, 17:166, 17.5:168, 18:172, 18.5:175, 19:178, 19.5:181, 20:185, 20.5:194, 21:194, 22:203, 23:213, 24:222, 25:231, 26:240, 27:250, 28:259, 29:268, 30:277, 31:286, 32:296, 33:305, 34:314, 35:323, 36:333, 37:342, 38:351, 39:360, 40:370, 50:454, 60:544, 70:593, 80:668, 90:752, 100:779
Zone 5 Handling Fee
0
Handling Per Order or Per Box Zone 5 (when by weight)
Order
Zone 6 Countries
Zone 6 Shipping Table
3:8.50,7:10.50,99:20.00
Zone 6 Handling Fee
0
Handling Per Order or Per Box Zone 6 (when by weight)
Order
Zone 7 Countries
Zone 7 Shipping Table
3:8.50,7:10.50,99:20.00
Zone 7 Handling Fee
0
Handling Per Order or Per Box Zone 7 (when by weight)
Order
Zone 8 Countries
Zone 8 Shipping Table
3:8.50,7:10.50,99:20.00
Zone 8 Handling Fee
0
Handling Per Order or Per Box Zone 8 (when by weight)
Order
Zone 9 Countries
Zone 9 Shipping Table
3:8.50,7:10.50,99:20.00
Zone 9 Handling Fee
0
Handling Per Order or Per Box Zone 9 (when by weight)
Order
Zone 10 Countries
Zone 10 Shipping Table
3:8.50,7:10.50,99:20.00
Zone 10 Handling Fee
0
Handling Per Order or Per Box Zone 10 (when by weight)
Order
thanks!
g
Re: Shipping per Categories
Currently, shipping is based on Product Weight ...
Let's assume these special Products are from categories_id 12 and categories_id 15 ...
Will ALL zones have the same shipping rate for Products in categories_id 12?
Will ALL zones have the same shipping rate for Products in categories_id 15?
The idea is to count the number of Items in categories_id 12 and categories_id 15 then multiple those by their specific shipping cost ...
So if 3 Products are from categories_id 12 and 2 Products are from categories_id 15, does that rate get computed as:
3 * 2.75 = 8.25 and add that to the current charges for each of the Zones
2 * 1.75 = 3.00 and add that to the current charges for each of the Zones
to get the total shipping cost ...
Re: Shipping per Categories
Ajeh -
Thanks - To answer your questions:
Quote:
Originally Posted by
Ajeh
Currently, shipping is based on Product Weight ...
Let's assume these special Products are from categories_id 12 and categories_id 15 ...
Will ALL zones have the same shipping rate for Products in categories_id 12?
Yes.
Quote:
Originally Posted by
Ajeh
Will ALL zones have the same shipping rate for Products in categories_id 15?
Yes. But note that the products from this category ship from a different location that the ones in categories_id 12. So their rates should be calculated accordingly.
If easier, it would be nice to apply Product Weight shipping module strictly to this category. This way I have two categories that have two different shipping modules.
Quote:
Originally Posted by
Ajeh
The idea is to count the number of Items in categories_id 12 and categories_id 15 then multiple those by their specific shipping cost ...
So if 3 Products are from categories_id 12 and 2 Products are from categories_id 15, does that rate get computed as:
3 * 2.75 = 8.25 and add that to the current charges for each of the Zones
2 * 1.75 = 3.00 and add that to the current charges for each of the Zones
to get the total shipping cost ...
Yes - that's be nice!
thanks a lot!!
Re: Shipping per Categories
Cannot use weight as weight is what is used for Zone Rates ...
You can, however, use 0 weight so it does not add anything but the calculated rate for the two categories ...
In the file:
/includes/modules/shipping/zones.php
add the code in RED:
Code:
// bof: calculate rates for categories_id 12 and 15
$chk_cat12 = 0;
$chk_cat15 = 0;
$chk_cat12 = $_SESSION['cart']->in_cart_check('master_categories_id','12');
$chk_cat15 = $_SESSION['cart']->in_cart_check('master_categories_id','15');
$chk_cat12 = $chk_cat12 * 2.75;
$chk_cat15 = $chk_cat15 * 1.75;
$extra_charge = $chk_cat12 + $chk_cat15;
$this->quotes = array('id' => $this->code,
'module' => MODULE_SHIPPING_ZONES_TEXT_TITLE,
'methods' => array(array('id' => $this->code,
'title' => $shipping_method,
'cost' => $shipping_cost + $extra_charge)));
// eof: calculate rates for categories_id 12 and 15
Note: check your settings on Configuration ... Shipping/Packaging ... for what you have on:
Quote:
Order Free Shipping 0 Weight Status
If there is no weight to the order, does the order have Free Shipping?
0= no
1= yes
Note: When using Free Shipping, Enable the Free Shipping Module this will only show when shipping is free.
that should be set to 0 so these 0 weight products do not affect your Zone Rates ...
Re: Shipping per Categories
Ajeh - thanks so much!!
Is there a specific spot I should insert this snippet in the zones.php?
thanks