Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2011
    Location
    Southern Alabama
    Posts
    15
    Plugin Contributions
    0

    Default Need some help with attribute

    ok.. My site is v1.3.9h with Twist of Nature template and COWOA and drop down Menu add ons.
    I have ONE item that NEEDS ( kinda must most of the time) be shipped separate from all other items.. I don't mind refunding shipping to customers when and if I can combine with other things BUT so often I cannot and it ends up costing me money.. SO I want to know how I can make one item on my site calculate shipping separately from all other items all of the time.. It has been suggested that an attribute would work but I am not finding a clear answer anywhere.. ANY help would be greatly appreciated and thank you.

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

    Default Re: Need some help with attribute

    What shipping modules are you using for all of the other Products?

    On this one Product, is it one charge to everyone for the same amount? Or are there differences? If there are differences then what are they based 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!

  3. #3
    Join Date
    Aug 2011
    Location
    Southern Alabama
    Posts
    15
    Plugin Contributions
    0

    Default Re: Need some help with attribute

    same product cost to everyone

    USPS shipping module
    Last edited by BamaPlants; 26 Oct 2014 at 04:36 PM. Reason: added info

  4. #4
    Join Date
    Aug 2011
    Location
    Southern Alabama
    Posts
    15
    Plugin Contributions
    0

    Default Re: Need some help with attribute

    all of my shipping rules are based solely on weight MOST of my items are Live or lightweight but this one item is heavy AND bulky and cannot be shipped with live plants safely MOST of the time

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

    Default Re: Need some help with attribute

    If this heavy Product is in the cart by itself. what shipping module should be used?
    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!

  6. #6
    Join Date
    Aug 2011
    Location
    Southern Alabama
    Posts
    15
    Plugin Contributions
    0

    Default Re: Need some help with attribute

    USPS..

    this is the only delivery service I offer

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

    Default Re: Need some help with attribute

    You could customize it so you cannot checkout with the Heavy Product in the cart with any other Product in the cart by adding the code in RED to:
    /includes/modules/pages/shopping_cart/header_php.php
    Code:
    // used to display invalid cart issues when checkout is selected that validated cart and returned to cart due to errors
    if (isset($_SESSION['valid_to_checkout']) && $_SESSION['valid_to_checkout'] == false) {
      $messageStack->add('shopping_cart', ERROR_CART_UPDATE . $_SESSION['cart_errors'] , 'caution');
    }
    // bof: warn no checkout with mixed cart
    $products_id_heavy = 12;
    if ($_SESSION['cart']->get_quantity($products_id_heavy) != $_SESSION['cart']->count_contents()) {
      $messageStack->add('shopping_cart', 'Checkout unavailable with Heavy Product in cart' , 'caution');
    }
    // eof: warn no checkout with mixed cart
    
    // build shipping with Tare included
    /includes/modules/pages/checkout_shipping/header_php.php
    Code:
    // bof: warn no checkout with mixed cart
    $products_id_heavy = 12;
    if ($_SESSION['cart']->get_quantity($products_id_heavy) != $_SESSION['cart']->count_contents()) {
      zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
    }
    // eof: warn no checkout with mixed cart
    
    // if no shipping destination address was selected, use the customers own address as default
    /includes/modules/pages/checkout_payment/header_php.php
    Code:
    // bof: warn no checkout with mixed cart
    $products_id_heavy = 12;
    if ($_SESSION['cart']->get_quantity($products_id_heavy) != $_SESSION['cart']->count_contents()) {
      zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
    }
    // eof: warn no checkout with mixed cart
    
    // get coupon code
    And set the products_id for the Heavy Product where 12 is defined in these:
    Code:
    $products_id_heavy = 12;
    to your Heave Product's products_id ...

    This will display a message about no checkout when the Heavy Product is combined with other Products ...
    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!

  8. #8
    Join Date
    Aug 2011
    Location
    Southern Alabama
    Posts
    15
    Plugin Contributions
    0

    Default Re: Need some help with attribute

    hmm.. ok this might work.. and thank you.. I will also make note on the heavy item's description warning of this and letting them know I will combine and refund IF I can..

    thank you

 

 

Similar Threads

  1. HELP! I ready need help with some modifications
    By missinglife in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 3 Oct 2009, 08:02 PM
  2. Need some help with my layout
    By kagen in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Feb 2009, 07:53 PM
  3. need some help regarding attributes and quantity per attribute
    By total.soft in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 12 Jul 2008, 07:07 PM
  4. Need some help with my header
    By canemasters in forum General Questions
    Replies: 3
    Last Post: 2 Feb 2008, 07:35 PM
  5. Need some help with my Categories?
    By guscott in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Dec 2006, 07:17 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