Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2020
    Location
    Florida
    Posts
    35
    Plugin Contributions
    0

    Default Create a shipping module for only some products

    How do I create a shipping module to only work with some products, or is this already a feature I could use?
    These products need to be for delivery while the other products are not. This delivery needs to add an amount to the final price.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Create a shipping module for only some products

    Zen Cart's normal operation for shipping is to base it on weight.
    https://docs.zen-cart.com/user/shipping/shipping/
    https://docs.zen-cart.com/user/shipping/

    So, if you set things up so that orders with zero weight get free shipping, then most other shipping modules will act strictly on the weight of the items in the cart, quoting delivery-related costs accordingly.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Oct 2020
    Location
    Florida
    Posts
    35
    Plugin Contributions
    0

    Default Re: Create a shipping module for only some products

    Let me rephrase this. Can I create a local delivery only option for some products that end up in the shopping cart? I know I would have to make a "shipping module" for this to work. Can I test for each product, or products in the cart and apply shipping to some and local delivery to others?

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,149
    Plugin Contributions
    11

    Default Re: Create a shipping module for only some products

    You may want to take a look at the advanced shipper from ceon.net

    It is commercial but, it allows you to specify shipping down to product ID.

  5. #5
    Join Date
    Apr 2009
    Posts
    417
    Plugin Contributions
    2

    Default Re: Create a shipping module for only some products

    Quote Originally Posted by Famine_1 View Post
    Let me rephrase this. Can I create a local delivery only option for some products that end up in the shopping cart? I know I would have to make a "shipping module" for this to work. Can I test for each product, or products in the cart and apply shipping to some and local delivery to others?
    I had a similar problem. I sell crystals but my wife wrote a book and wanted too sell it on our site. So I modified my big royal mail modules to check if the product code started with "BK" then used the option I had written. In addition to avoid confusion I also created an observer so that you could not mix books and crystals in the same order. The observers I used were NOTIFIER_CART_RESTORE_CONTENTS_END:/* on login cart is combined with saved cart so need to check if mixed products and books */
    NOTIFIER_CART_ADD_CART_START: /*Allow books to be added to books or other products to be added to other products if not set quantity to zero and issue message */
    NOTIFY_LOGIN_SUCCESS: /* Issue message if books have been removed from the cart */

    In this way I kept the processing so that it only gave postage for books or crystals not both.
    If you want I can send you the code. for notifiers and an example of my changes for book postage.
    Mark
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

 

 

Similar Threads

  1. I want to offer some products with free shipping but only for customers in USA
    By rmlawdad1 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 24 Jan 2010, 05:24 AM
  2. Can I do free shipping in the united states only for just SOME products?
    By RSRACEcom in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 30 Sep 2009, 07:15 PM
  3. Making some products free shipping for USA only
    By Crunch in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 9 Mar 2009, 03:44 PM
  4. Can I have a "call for shipping" module for just *some* products?
    By sn_tobin in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 8 May 2008, 05:17 AM
  5. Can I make some products ship-only, some pickup-only, some both?
    By TheToe in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 7 Nov 2006, 12:33 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