Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007
    Posts
    4
    Plugin Contributions
    0

    Default Add Additional Shipping Cost to Only One Item

    Hi,

    I am trying to figure out how to make a special case for the shipping cost for one item. All of the other items' rate are at $6.95, I just need this larger item to have a $9.95 shipping and that is it.

    I have looked in the shipping modules directory and the item.php to see where i can add the case but i don't see any where the rate is calculated.

    Has anyone encounter this dilemma before? Are there any specific files that you can point me to where like the shipping_estimator.php to add this case or an alternate method.

    Thanks.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,718
    Plugin Contributions
    6

    Default Re: Add Additional Shipping Cost to Only One Item

    There is a function in the shopping_cart class where you can look up how many of a product are in the cart ...

    I have to dig up its exact name but it is down near the end of the class ...
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,718
    Plugin Contributions
    6

    Default Re: Add Additional Shipping Cost to Only One Item

    Look for the section on:
    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') {
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. Additional shipping cost for expedited shipment
    By saopaolo in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 3 Dec 2007, 12:39 AM
  2. Shipping cost per item
    By jwball in forum Built-in Shipping and Payment Modules
    Replies: 16
    Last Post: 19 May 2007, 04:00 PM
  3. Item at no cost, no shipping, etc.
    By minson in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 25 Mar 2007, 04:57 PM
  4. Additonal item shipping cost
    By Berlie in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 12 Mar 2007, 10:57 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
  •