Results 1 to 2 of 2
  1. #1
    Join Date
    May 2007
    Posts
    36
    Plugin Contributions
    0

    Default Remove POST Shipping Method if ANY item in the CART has 0 weight value?

    I have products in my Shopping Cart that require separate FREIGHT calculations, as they are too big to be sent via POST and I use COURIERS.... and in the case where someone purchases one of these items, it only allows STORE PICKUP (with instructions about the COURIER charges, etc)....
    (this is done by specifying "0" in the weight details of the item, therefore the AUSPOST calculator fails and only allows WALK IN as the option).

    BUT...

    if the customer purchases ANOTHER item in the same order, which DOES allow POST option, then it only calculates the postage for the 1 item, and allows the order to go through with no indication that the LARGER item cannot be posted!!!

    So, is there a way I can STOP items with "0" weight being added to a cart that already has items WITH a weight assigned? (and vice-verca)..... or a way I can DISABLE the POST option if an item with "0" weight is in the cart?

    Thanks
    Ross.

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

    Default Re: Remove POST Shipping Method if ANY item in the CART has 0 weight value?

    In the modules, the $this->enabled when true allows it to run and when false it is disabled or hidden ...

    You could test for how many products are in the cart with a products_weight of 0 and if 1 or more then disable the module ...
    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!

 

 

Similar Threads

  1. Replies: 0
    Last Post: 21 May 2012, 03:07 AM
  2. Only showing shipping method based on per item or weight amount
    By chinook in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 30 May 2010, 09:54 AM
  3. Remove a shipping method based on value
    By dab in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 22 Sep 2009, 11:37 PM
  4. Remove certain SHIPPING if any products in the cart have "0" weight.
    By RosscoB in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 20 Jul 2009, 10:34 PM
  5. search if any product has a option value
    By dedj in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 1 Jul 2007, 12:03 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