Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2009
    Location
    Longwood, FL
    Posts
    5
    Plugin Contributions
    0

    Default Two Categories, number of Items, Zones

    I've read the Zen-Cart Book and searched the forums and haven't come up with a solution to this shipping situation.
    Using Version 1.3.7

    I have two categories with different shipping cost in each.

    First category has free shipping to US and all others areas have a charge of $1.00 for first item and .25 for each item thereafter.

    Second category has free shipping to US and all other areas have a charge of $12.95 for first item and $1.00 for each item thereafter.

    None of shipping modules seems to recognize two separate categories. Any suggestions would be very much appreciated!

    G

  2. #2
    Join Date
    Jan 2009
    Location
    Longwood, FL
    Posts
    5
    Plugin Contributions
    0

    Default No Replies - Why?

    Below is a question I asked yesterday morning with 0 replies. Other questions made after me had up to 17 replies. I am not sure why this is. Please look below and tell me why this topic isn't worth replying to:

    1. There is no answer
    2. I don't have any idea
    3. Not explained in such a way to formulate an answer
    4. So simple that it shouldn't have been on the Forum in 1st place.
    5. Please use a stronger deodorant

    ----------------------------------------------------------------------
    Default Two Categories, number of Items, Zones

    I've read the Zen-Cart Book and searched the forums and haven't come up with a solution to this shipping situation.
    Using Version 1.3.7

    I have two categories with different shipping cost in each.

    First category has free shipping to US and all others areas have a charge of $1.00 for first item and .25 for each item thereafter.

    Second category has free shipping to US and all other areas have a charge of $12.95 for first item and $1.00 for each item thereafter.

    None of shipping modules seems to recognize two separate categories. Any suggestions would be very much appreciated!

    G

  3. #3
    Join Date
    Nov 2003
    Location
    Haarlem | Netherlands
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: No Replies - Why?

    Or it might be:

    6 There is no question


  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Two Categories, number of Items, Zones

    Moderator's notes- Threads have been merged.

    Please do not repost the same thing again - if you need to add more information to a post, reply to your own message with the information.

    Also the most common reason for not getting a reply is not understanding exactly what you are trying to accomplish.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Jan 2009
    Location
    Longwood, FL
    Posts
    5
    Plugin Contributions
    0

    Default Re: Two Categories, number of Items, Zones

    No............ because that is item number 3. But to make it clearer to you. How would you set up shipping for the above situation?? Better???

  6. #6
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Two Categories, number of Items, Zones

    ... and what if I buy an item from each category?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Jan 2009
    Location
    Longwood, FL
    Posts
    5
    Plugin Contributions
    0

    Default Re: Two Categories, number of Items, Zones

    If you are outside the US, then the first category item shipping would cost you $1.00 and the second category item shipping would cost you $12.95 for a total shipping amount of $13.95


    example two:

    You buy two from category one - $1.00+.25 ($1.25 subtotal) and two from category two $12.95+$1.00 ($13.95 subtotal) for a total of $15.20. This is assuming that it is being sent outside the us.

    If it was in the US, all of the examples would be free shipping.

    The actual items will vary in cost.

    HTH

    Thanks for effort!

    G

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

    Default Re: Two Categories, number of Items, Zones

    If you were able to use the master_categories_id to identify the products, you could customize a shipping module based on the counts and set the shipping cost that way ...

    Do you have your coder's cap 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: 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!

  9. #9
    Join Date
    Jan 2009
    Location
    Longwood, FL
    Posts
    5
    Plugin Contributions
    0

    Default Re: Two Categories, number of Items, Zones

    Hi!

    Coders cap on although it may be slightly tilted. I'm most conversant in ASP rather than PHP, but should be able to make the transitions! I'm ready!

    Thanks.

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

    Default Re: Two Categories, number of Items, Zones

    In the shopping_cart.php class ... there is a function that can tell you how many items are in the shopping cart based on something in the products table, such as the master_categories_id ...

    Code:
      /**
       * Method to calculate the number of items in a cart based on an abitrary property
       *
       * $check_what is the fieldname example: 'products_is_free'
       * $check_value is the value being tested for - default is 1
       * Syntax: $_SESSION['cart']->in_cart_check('product_is_free','1');
       *
       * @param string product field to check
       * @param mixed value to check for
       * @return integer number of items matching restraint
       */
      function in_cart_check($check_what, $check_value='1') {
    See if using that doesn't help you get the count of how many are in the cart for a category ...

    Then, use something like Item Rate item shipping module and clone it so that you can change the calculation of the cost to use the numbers from each category for your formula ...

    Easy smeazy, eh?!
    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. Two Zones per Country?
    By gabstero in forum Built-in Shipping and Payment Modules
    Replies: 18
    Last Post: 2 Jun 2014, 04:57 PM
  2. Per item two zones?
    By LiseL in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 25 Sep 2009, 03:33 PM
  3. Replies: 0
    Last Post: 5 Jan 2009, 11:32 PM
  4. Zones on two languages ?
    By sicness in forum General Questions
    Replies: 0
    Last Post: 19 Jul 2006, 02:39 PM

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