Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31
  1. #11
    Join Date
    Feb 2006
    Posts
    230
    Plugin Contributions
    0

    Default Re: S & H extra charge for some items

    Here is the shipping screen: No echo of that line. There are 2 of this item in the cart.

    Step 1 of 3 - Delivery Information
    Shipping Information:
    Change Address
    marvin schwarzber
    48 morgan dr
    edison, NJ 08817
    United States
    Your order will be shipped to the address at the left or you may change the shipping address by clicking the Change Address button.

    Shipping Method:
    Please select the preferred shipping method to use on this order.
    Table Rate
    $6.49
    Best Way
    Zone Rates
    $6.49
    Shipping to US
    Special Instructions or Comments About Your Order
    Continue to Step 2
    - choose your payment method.

  2. #12
    Join Date
    Feb 2006
    Posts
    230
    Plugin Contributions
    0

    Default Re: S & H extra charge for some items

    Below is what is on the shipping selection screen. NO echo. The next screen - Payment Selection - has no echo either.

    -----------------------------------------------------
    Step 1 of 3 - Delivery Information
    Shipping Information:
    Change Address
    marvin schwarzber
    48 morgan dr
    edison, NJ 08817
    United States
    Your order will be shipped to the address at the left or you may change the shipping address by clicking the Change Address button.

    Shipping Method:
    Please select the preferred shipping method to use on this order.
    Table Rate
    $6.49
    Best Way
    Zone Rates
    $6.49
    Shipping to US
    Special Instructions or Comments About Your Order
    Continue to Step 2
    - choose your payment method.

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

    Default Re: S & H extra charge for some items

    Are you sure that file is getting copied to:
    /includes/shipping/table.php

    on the server?

    I see the echo both in the Shipping estimator and the checkout_shipping page ...

    Make sure your FTP is working on the site where you are testing as this does not make a lot of sense ...
    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!

  4. #14
    Join Date
    Feb 2006
    Posts
    230
    Plugin Contributions
    0

    Default Re: S & H extra charge for some items

    Just discovered that the line shows up in my page source above the head tag in my - https://www.herbschina.com/zen/index...ckout_shipping - but does not show on the page itself. Very confusing. Seems I'm missing something in my coding.
    ---------------------------------

    Table Extra charges $chk_cart: 0 $extra_charge: 0<br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
    <head>

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

    Default Re: S & H extra charge for some items

    What is your code?
    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!

  6. #16
    Join Date
    Feb 2006
    Posts
    230
    Plugin Contributions
    0

    Default Re: S & H extra charge for some items

    Do you want to see the code for the COMPLETE table.php file?

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

    Default Re: S & H extra charge for some items

    More or less just this section of code:
    Code:
            default:
            $show_box_weight = ' (' . $shipping_num_boxes . ' x ' . number_format($shipping_weight,2) . TEXT_SHIPPING_WEIGHT . ')';
            break;
          }
        }
    
    // bof: Add extra charge for heavy items in cart
    $chk_cart = 0;
    $chk_cart += $_SESSION['cart']->in_cart_check('products_id','10');
    $chk_cart += $_SESSION['cart']->in_cart_check('products_id','12');
    $chk_cart += $_SESSION['cart']->in_cart_check('products_id','15');
    $chk_cart += $_SESSION['cart']->in_cart_check('products_id','3736');
    $extra_charge = $chk_cart * .75;
    echo 'Table Extra charges $chk_cart: ' . $chk_cart . ' $extra_charge: ' . $extra_charge . '<br>';
    
        $this->quotes = array('id' => $this->code,
        'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE . $show_box_weight,
        'methods' => array(array('id' => $this->code,
        'title' => MODULE_SHIPPING_TABLE_TEXT_WAY,
        'cost' => $extra_charge + $shipping + (MODULE_SHIPPING_TABLE_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_TABLE_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_TABLE_HANDLING) ) ));
    
        if ($this->tax_class > 0) {
    Last edited by Ajeh; 28 Dec 2015 at 10:12 PM.
    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!

  8. #18
    Join Date
    Feb 2006
    Posts
    230
    Plugin Contributions
    0

    Default Re: S & H extra charge for some items

    default:
    $show_box_weight = ' (' . $shipping_num_boxes . ' x ' . number_format($shipping_weight,2) . TEXT_SHIPPING_WEIGHT . ')';
    break;
    }
    }

    // bof: Add extra charge for heavy items in cart
    $chk_cart = 0;
    $chk_cart += $_SESSION['cart']->in_cart_check('products_id','540');
    $chk_cart += $_SESSION['cart']->in_cart_check('products_id','3772');
    $chk_cart += $_SESSION['cart']->in_cart_check('products_id','3734');
    $chk_cart += $_SESSION['cart']->in_cart_check('products_id','3736');
    $extra_charge = $chk_cart * .75;
    echo 'Table Extra charges $chk_cart: ' . $chk_cart . ' $extra_charge: ' . $extra_charge . '<br>';

    $this->quotes = array('id' => $this->code,
    'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE . $show_box_weight,
    'methods' => array(array('id' => $this->code,
    'title' => MODULE_SHIPPING_TABLE_TEXT_WAY,
    'cost' => $extra_charge + $shipping + (MODULE_SHIPPING_TABLE_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_TABLE_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_TABLE_HANDLING) ) ));
    // eof: Add extra charge for heavy items in cart

    if ($this->tax_class > 0) {

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

    Default Re: S & H extra charge for some items

    Do any of these products exist:
    Code:
    $chk_cart += $_SESSION['cart']->in_cart_check('products_id','540');
    $chk_cart += $_SESSION['cart']->in_cart_check('products_id','3772');
    $chk_cart += $_SESSION['cart']->in_cart_check('products_id','3734');
    $chk_cart += $_SESSION['cart']->in_cart_check('products_id','3736');
    on your site?
    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!

  10. #20
    Join Date
    Feb 2006
    Posts
    230
    Plugin Contributions
    0

    Default Re: S & H extra charge for some items

    Items 540 and 3734 are currently on site (I have inventory)

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Replies: 15
    Last Post: 24 Feb 2014, 06:23 PM
  2. Adding extra shipping charge to specific items
    By kevinoneil68 in forum General Questions
    Replies: 1
    Last Post: 22 Nov 2011, 02:21 AM
  3. Some items available for international shipping & some not? Anyone know how?
    By Treasuresbycaz in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 11 Jan 2009, 11:08 PM
  4. extra shipping charge on certain items
    By deer_boy in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 6 Jun 2008, 02:02 PM
  5. Extra charge for specific bulky items (table-weight module)
    By SHK in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 9 Apr 2008, 12:23 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