Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Help Shipping issue

    Hi All. We already have the per weight unit shipping option avalable for our ergonomic education furniture store. We have a new product that is flat packed that instead of being per unit, it is now a flat fee regardless of how many are ordered.

    My question is, can this be set up on an individual item? Please advise.

    Many thanks
    Debbie Harrison
    DVH Design | Web Design blog

  2. #2
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Help Shipping issue

    I have tried installing both, but that just sets up both options at the checkout.

    Please, could anyone point me in the right direction.
    Debbie Harrison
    DVH Design | Web Design blog

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

    Default Re: Help Shipping issue

    You could customize the Per Unit perweightunit shipping module and add the code in RED where 10 is the products_id:
    Code:
      function quote($method = '') {
        global $order, $shipping_weight, $shipping_num_boxes;
          $extra_shipping = 0.00;
          global $cart;
          $chk_products += $_SESSION['cart']->in_cart_check('products_id','10');
          if ($chk_products > 0) {
            $extra_shipping = 2.50;
          }
        $total_weight_units = $shipping_weight;
        $this->quotes = array('id' => $this->code,
                              'module' => MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_TITLE,
                              'methods' => array(array('id' => $this->code,
                                                       'title' => MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_WAY,
                                                       'cost' => MODULE_SHIPPING_PERWEIGHTUNIT_COST * ($total_weight_units * $shipping_num_boxes) +
                                                       (MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING) + $extra_shipping ) ));
    NOTE: do not miss the change to the last line ...
    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!

  4. #4
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Help Shipping issue

    Thanks for this Ajeh

    I assume that it can be adjusted to category_id as well?
    Debbie Harrison
    DVH Design | Web Design blog

  5. #5
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Help Shipping issue

    Actually sorry scrub that last answer.

    I assume for multiple products it would be 'products_id', '10,'12' etc?

    Sorry but I am still getting to grips with basic php.

    Thx
    Debbie Harrison
    DVH Design | Web Design blog

  6. #6
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Help Shipping issue

    Actually I have worked this out by looking at one of your other threads:

    PHP Code:
    $chk_products += $_SESSION['cart']->in_cart_check('products_id','360');
          
    $chk_products += $_SESSION['cart']->in_cart_check('products_id','361');
          
    $chk_products += $_SESSION['cart']->in_cart_check('products_id','362');
          
    $chk_products += $_SESSION['cart']->in_cart_check('products_id','363');
          
    $chk_products += $_SESSION['cart']->in_cart_check('products_id','348');
          
    $chk_products += $_SESSION['cart']->in_cart_check('products_id','352');
          
    $chk_products += $_SESSION['cart']->in_cart_check('products_id','369');
          
    $chk_products += $_SESSION['cart']->in_cart_check('products_id','367'); 
    My burning question now, is can flat rate be added to if more than 1 product id listed is bought? So if Product ids 360 and 361 are bought together, how can we total the flat rate to £100?

    Please advise.
    Debbie Harrison
    DVH Design | Web Design blog

 

 

Similar Threads

  1. FedEx Shipping Mod v.1.4.5.2 issue, Need Help!!
    By tinoy2k in forum Addon Shipping Modules
    Replies: 2
    Last Post: 9 Jul 2010, 07:39 AM
  2. Shipping issue, please help.
    By RuyanMan in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 24 Jun 2009, 03:12 PM
  3. Hoping to get some help on "stuck on shipping page" issue
    By skylarker in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 5 May 2008, 03:03 AM
  4. Shipping issue...
    By senattor in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 6 Dec 2007, 06:07 PM
  5. FEDEX module shipping cost issue. Please Help!
    By geesler in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 13 Apr 2007, 03:36 AM

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