Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 50
  1. #31
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #32
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default 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

  3. #33
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #34
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default 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

  5. #35
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #36
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default 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
    Last edited by gabstero; 14 Mar 2014 at 11:07 PM.

  7. #37
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #38
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default Re: Shipping per Categories

    Ajeh -

    Thanks - To answer your questions:

    Quote Originally Posted by Ajeh View Post
    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 View Post
    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 View Post
    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!!

  9. #39
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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:
    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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #40
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default Re: Shipping per Categories

    Ajeh - thanks so much!!

    Is there a specific spot I should insert this snippet in the zones.php?


    thanks
    Last edited by gabstero; 19 Mar 2014 at 09:38 PM.

 

 
Page 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. Replies: 7
    Last Post: 20 Mar 2013, 02:12 PM
  2. v151 International Per Item Shipping and Domestic Per Order Shipping
    By function in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 15 Mar 2013, 03:44 PM
  3. v139h Per unit/per category/per location shipping rates
    By jsavoie in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 4 Nov 2012, 06:19 PM
  4. HOW TO? - Multiple Shipping options per product per order etc....
    By shags38 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 15 Sep 2011, 03:44 AM
  5. shipping items per weight per zone with extras
    By secondnature in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 10 Mar 2011, 07:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR