Results 1 to 10 of 552

Hybrid View

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

    Default Re: Different shipping methods for different categories

    Providing that you are not using Always Free Shipping for anything other than these special products ... you can use this for any Product even those outside of categories_id 51 as this new way captures all Products that are Free Shipping ...

    NOTE: you must turn OFF the setting in Shipping/Packaging for 0 weight means Free Shipping as now those products without weight would get counted as Free Shipping if this were turned on, so set this to NO:
    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.
    And change the code to read:
    Code:
    // bof: give categories_id 51 a charge of $12.00 per quantity
    global $cart;
    //$chk_cat_51 = $_SESSION['cart']->in_cart_check('master_categories_id','51');
    //$chk_cat_51_shipping = $chk_cat_51 * 12.00;
    
    // comment out echo below to not see it
    //echo 'I SEE FREE SHIPPING: items: ' . $_SESSION['cart']->free_shipping_items() . ' price: ' . $_SESSION['cart']->free_shipping_prices() . ' 7%: ' . $_SESSION['cart']->free_shipping_prices() * .07 . '<br>';
    
    // charge 7% on ANY product marked as Always Free Shipping
    $chk_cat_51_shipping = $_SESSION['cart']->free_shipping_prices() * .07;
    
        $this->quotes = array('id' => $this->code,
        'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE . $show_box_weight,
        'methods' => array(array('id' => $this->code,
        'title' => MODULE_SHIPPING_TABLE_TEXT_WAY,
        'cost' => $chk_cat_51_shipping + $shipping + (MODULE_SHIPPING_TABLE_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_TABLE_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_TABLE_HANDLING) ) ));
    // eof: give categories_id 51 a charge of $12.00 per quantity
    I left in the old code, commented in case you need that later on ...
    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!]
    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. #2
    Join Date
    Feb 2008
    Posts
    174
    Plugin Contributions
    0

    Default Re: Different shipping methods for different categories

    just realized that I neglected to say THANK YOU VERY MUCH!!!!

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

    Default Re: Different shipping methods for different categories

    You are most welcome ... glad that this helped ...
    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!]
    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. #4
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    131
    Plugin Contributions
    0

    Default Re: Different shipping methods for different categories

    Hi everyone

    I've been looking around the forums for some time now, and thought this the best place to post.

    I'm looking for a similar thing to the OP... my products are mostly drop-shipped, so I have a flat rate of $15 and $35, depending on the item. I also have a range of products that I stock and ship out myself, with shipping costs based on weight groups (up to 500g, over 1kg, etc.).

    What I want to do is have the correct flat rate shipping method as the only option, as per the drop-shipped item (so one for $15 and another for $35), and then the same for the products I stock (for example, an option for smaller items at $6, another at $10, and larger items at $12).

    Now, all the items are available internationally, with three zones and each with more pricing differences (where a parcel in Aus up to 500g, for example, costs X amount, internationals have strict weight groups, so up to 250g is Y amount and up to 500g is Z amount, etc.).

    I had a look at using the ozpost module, as this would be the best option because it uses Australia Post rates, but it doesn't allow for custom shipping rates to be set, so it's not quite right for me.

    I hope this is clear enough for you to understand and I am happy to offer anyone a cup of coffee who could help with this.

    I look forward to hearing back from you,
    Tija

  5. #5
    Join Date
    Feb 2009
    Posts
    79
    Plugin Contributions
    1

    Idea or Suggestion Re: Different shipping methods for different categories

    Now, all the items are available internationally, with three zones and each with more pricing differences (where a parcel in Aus up to 500g, for example, costs X amount, internationals have strict weight groups, so up to 250g is Y amount and up to 500g is Z amount, etc.).
    As far as this part goes, there is a MOD you could use (in the free addons section) called "Zone Table Rates" or something like that. It's a combination of zone rates and table rates (both of those come with your initial install).
    You could try that MOD out for this part of your problem (quoted above). You can set the Zone Table Rates to wieght (i.e. Zone1 10000:100% means that anything up to 10000 lbs, or grams, or whatever you have your site set at, would cost 100% of the weight.).
    Then all you would have to do is put the shipping weight of your products as what it would cost to ship (drop-ship A = 15, drop-ship B = 35, and then whatever your on-hand products would cost). As your drop-shipped items sound like they are all flat rates per item, I hope this will work for you.
    See below for what the setup looks like on the Zone Table Rates Mod. Notice that each "Zone" has it's own handling fee:
    Enable Table Method
    Do you want to offer zonetable rate shipping?

    True
    False

    Table Method
    The shipping cost is based on the order total or the total weight of the items ordered or the total number of items ordered.

    weight
    price
    item

    Tax Class
    Use the following tax class on the shipping fee.
    --none-- Non-Tax Taxable Goods

    Tax Basis
    On what basis is Shipping Tax calculated. Options are
    Shipping - Based on customers Shipping Address
    Billing Based on customers Billing address
    Store - Based on Store address if Billing/Shipping Zone equals Store zone

    Shipping
    Billing
    Store

    Sort Order
    Sort order of display.


    Shipping Zone 1
    If a zone is selected, only enable this shipping method for that zone.
    --none-- Zone 1 Zone 2 Zone 3 Zone 4 Zone 5

    Zone 1 Shipping Table
    The shipping cost is based on the total cost or weight of items or count of the items. Example: 25:8.50,50:5.50,etc.. Up to 25 charge 8.50, from there to 50 charge 5.50, etc
    25:8.50,50:5.50,10000:0.00

    Zone 1 Handling Fee
    Handling fee for this shipping method.


    Shipping Zone 2
    If a zone is selected, only enable this shipping method for that zone.
    --none-- Zone 1 Zone 2 Zone 3 Zone 4 Zone 5

    Zone 2 Shipping Table
    The shipping cost is based on the total cost or weight of items or count of the items. Example: 25:8.50,50:5.50,etc.. Up to 25 charge 8.50, from there to 50 charge 5.50, etc
    25:8.50,50:5.50,10000:0.00

    Zone 2 Handling Fee
    Handling fee for this shipping method.


    Shipping Zone 3
    If a zone is selected, only enable this shipping method for that zone.
    --none-- Zone 1 Zone 2 Zone 3 Zone 4 Zone 5

    Zone 3 Shipping Table
    The shipping cost is based on the total cost or weight of items or count of the items. Example: 25:8.50,50:5.50,etc.. Up to 25 charge 8.50, from there to 50 charge 5.50, etc
    25:8.50,50:5.50,10000:0.00

    Zone 3 Handling Fee
    Handling fee for this shipping method.
    Flip Perry
    S~Scents

  6. #6
    Join Date
    Feb 2010
    Posts
    140
    Plugin Contributions
    0

    Default Re: Different shipping methods for different categories

    After reading through the 26 pages of this read I not much clearer on what to do
    some of the others issues are similar to mine but there has been no clear instructions.

    I plan on selling 2 products on my website currently we are on selling higher value products:

    1) Higher value products (category a)
    2) Lower value products (category b)
    3) Other categories combination of products in category a and b)


    I currently have the clat rate shipping module cloned 8 times with different zones set to each clone.

    My shipping prices are fixed for each zone no matter if its a higher value product or a lower value product I still get charged
    the same from the courier.


    For 2 of these cloned flat rate zones I offer free shipping on higher value products and we absorb the cost of the courier.


    For the zones with free shipping we are unable to absorb the courier charges if a customer purchases a lower value product
    only as we would then be selling the product at a loss.

    So what I am trying to setup is a shipping modification
    that will:

    a) higher value product = shipping free
    b) higher value and lower value product = shipping free
    c) lower value product = shipping rate £5


    Having read through the thread the nearest I have found to
    what I am looking to do is this but I am not sure on this and
    what code to edit.



    PHP Code:
    // disable for one master_categories_id
          
    if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('master_categories_id','17') > 0)) {
              
    $this->enabled false;
          } 

  7. #7
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    131
    Plugin Contributions
    0

    Default Re: Different shipping methods for different categories

    Thanks, flipperry - I'll look into that mod.

    The only thing is that the items I have drop-shipped are shipped at a different cost internationally than nationally. So, for instance, if an item is shipped at $15 within Australia, it might cost $50 to Zone 1 and $80 to Zone 2.

    How would this work with the weight being set as the shipping cost?

    Another thing is how the mod would work with multiple items in the one order (this would mostly be for the items I stock).

    For instance, a customer buys two items, each with a 'weight' of 10 (so $10 shipping each) - this makes the shipping cost $20 - but those two items can fit into a parcel that only costs $15 to ship.

    Another example would be that a customer buys only one of the items with a weight of 10 and another with a weight of 2 - the shipping then would be $12 - but the actual cost should be $15.

    So how would one go about these problems?

  8. #8
    Join Date
    Jun 2010
    Posts
    44
    Plugin Contributions
    0

    Default Re: Different shipping methods for different categories

    It looks like this is the thread to post this, so here I go...

    Most of my items have free shipping in the US and a $2.99 flat rate outside the US. I'm adding some new items that will have a $4.95 shipping cost in the US and an $8.95 cost outside the US. I've got my 2 zones setup, but I can't figure out how to make certain items have the old pricing structure, while others will have the new, higher rate. Those rates are per order, not per item. So if somebody orders 3 items that are all part of the new pricing structure, they'll only pay a total of $4.95 US and $8.95 international, not that amount for each item.

    Any thoughts on how I would accomplish that?

 

 

Similar Threads

  1. Re: Different shipping methods for different categories
    By kaddie in forum Built-in Shipping and Payment Modules
    Replies: 14
    Last Post: 19 Nov 2010, 04:37 AM
  2. Replies: 2
    Last Post: 27 Oct 2010, 01:45 PM
  3. Different shipping methods for different categories and mixed categories
    By neit in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 10 Aug 2010, 12:20 AM
  4. Separate Shipping Methods for Different Categories
    By MortalWombat in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Jul 2010, 08:57 AM
  5. Different shipping methods for different product types?
    By talisman-studios in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 17 Sep 2008, 04:59 PM

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