Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2007
    Posts
    11
    Plugin Contributions
    0

    Default Is there a default shipping weight ?

    Hi Folks
    Got a slight problem.
    I've got a habit of adding new products and forgetting to put a weight for the product.
    Consequently if an item weighs 1700grams customers are getting it shipped for the 100g postage rate (using rate table).

    Is there a default somewhere I can enter, so that if the weight is zero then it will charge a money amount or will default to 500grams or similar.
    I know its my problem and i should remember to put the weight in, but the old memory isnt what it was... if it ever was..I cant remember now haha.

    Thanks in advance
    Nige

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Is there a default shipping weight ?

    /admin/includes/modules/product/collect_info.php
    near the top of the file, you'll see a section like this:
    Code:
    if (!defined('IS_ADMIN_FLAG')) {
      die('Illegal Access');
    }
        $parameters = array('products_name' => '',
                           'products_description' => '',
                           'products_url' => '',
                           'products_id' => '',
                           'products_quantity' => '',
                           'products_model' => '',
                           'products_image' => '',
                           'products_price' => '',
                           'products_virtual' => DEFAULT_PRODUCT_PRODUCTS_VIRTUAL,
                           'products_weight' => '',
                           'products_date_added' => '',
                           'products_last_modified' => '',
    note the line that says:
    Code:
               'products_weight' => '',
    inside the quotes on that line, enter whatever you would normally enter as a default value for weight. So, if you're entering 500 for 500 grams, make it say:
    Code:
               'products_weight' => '500',
    or if 500 grams is really 0.5, make it:
    Code:
               'products_weight' => '0.5',
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Is there a default shipping weight ?

    Thats superb. Thanks very much for that.

 

 

Similar Threads

  1. v150 UPS Shipping problem - Is there a weight cap?
    By beyre in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 23 Oct 2013, 07:50 PM
  2. Default Products Shipping Weight
    By MartynG in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 30 Apr 2011, 11:37 PM
  3. Help Needed - Default shipping weight across the board
    By tristarcctv in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 30 May 2008, 03:13 AM
  4. How can I set a default shipping weight?
    By stevefriedman71 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 30 Apr 2008, 04:52 PM
  5. Is there a reason why shipping weight shows as 0 in shopping cart?
    By ScootaMan in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Dec 2007, 06:44 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