Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2010
    Posts
    3
    Plugin Contributions
    0

    Default Restrict Shipping Per Item

    Running 1.3.9d, almost upgraded to h

    Not sure if the built in modules can do this (using USPS and FedEx)...

    Desired effect: Particular Items that cannot be sent internationally will not be allowed to be purchased if the shipping address is out of the country. (I'm currently using a read only attribute to tell them of the restriction, but if they don't pay attention the cart still allows them to purchase).

    If I am not just missing an easy fix in the current modules I was also wondering if I could create a new product type for items that can't go international, or create a new field in the product table, but then what?

    Any help appreciated :)

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

    Default Re: Restrict Shipping Per Item

    The best thing would be to create a new field in the products table for this, such as:
    products_ship_usa_only

    Then, you could test for it and enable/disable the shipping module as needed ...
    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!

  3. #3
    Join Date
    Sep 2010
    Posts
    3
    Plugin Contributions
    0

    Default Re: Restrict Shipping Per Item

    Quote Originally Posted by Ajeh View Post
    The best thing would be to create a new field in the products table for this, such as:
    products_ship_usa_only

    Then, you could test for it and enable/disable the shipping module as needed ...
    That's kind of what I was thinking. Do you think it's better/easier to reject it through the shipping module or have the shopping cart deny it?

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

    Default Re: Restrict Shipping Per Item

    Personally, I'd add a new field to the products table ...

    Then in the shipping module test to see if any products are in the cart where this is new field is set ... if so, then test the shipping address and if International you have it disable the shipping module ...

    I would also use that new field on the products table to mark the Product on the product_info and shopping cart ... this will help avoid confusion ...

    You could go so far as to add a message on the Add to Cart/Buy Now buttons to mark them as National or US only ...
    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!

  5. #5
    Join Date
    Sep 2010
    Posts
    3
    Plugin Contributions
    0

    Default Re: Restrict Shipping Per Item

    Cool, I will attempt that and let you know how it goes :) Thanks a million for your help so far!

 

 

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 Calculating Shipping - First Item a Set Cost, Each Additional Item $1.00 Per Item
    By Beachcovers in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 31 Mar 2012, 04:00 AM
  4. Shipping charged per item and free shipping per item
    By ae_support in forum Addon Shipping Modules
    Replies: 2
    Last Post: 27 Jul 2011, 05:04 PM
  5. Individual Shipping Per Item, and reduced cost per extra item
    By canad1an in forum Addon Shipping Modules
    Replies: 7
    Last Post: 6 Feb 2009, 11:41 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