Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2008
    Posts
    19
    Plugin Contributions
    0

    Default Default Products Shipping Weight

    I want to be able to set a default Products Shipping Weight of "1" on the New Products entry page.

    We use the Per Unit shipping module and every item has a minimum shipping cost with some items having a cost of minimum shipping x 2. i.e. minimum shipping £26.00, special items £52.00.

    Everything works fine with shipping set at £26 per unit, standard item weights = 1 and special items =2.

    The only problem I have if that some of the store admin forget to add a shipping weight on new products so giving them zero shipping costs...

    How do I modify the Perunitweight modules or product listing module to set and show a default Products Shipping weight of "1" but still being able to enter a different weight (including zero)?

    I've tried all sorts of methods and bits of php but it's beyond my ability Any help appreciated...

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

    Default Re: Default Products Shipping Weight

    To default the products_weight to 1, you can edit the file:
    /admin/includes/modules/product/collect_info.php

    and customize the default settings:
    Code:
        $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' => '1',
                           'products_date_added' => '',
                           'products_last_modified' => '',
                           'products_date_available' => '',
                           'products_status' => '',
                           'products_tax_class_id' => DEFAULT_PRODUCT_TAX_CLASS_ID,
                           'manufacturers_id' => '',
                           'products_quantity_order_min' => '',
                           'products_quantity_order_units' => '',
                           'products_priced_by_attribute' => '',
                           'product_is_free' => '',
                           'product_is_call' => '',
                           'products_quantity_mixed' => '',
                           'product_is_always_free_shipping' => DEFAULT_PRODUCT_PRODUCTS_IS_ALWAYS_FREE_SHIPPING,
                           'products_qty_box_status' => PRODUCTS_QTY_BOX_STATUS,
                           'products_quantity_order_max' => '0',
                           'products_sort_order' => '0',
                           'products_discount_type' => '0',
                           'products_discount_type_from' => '0',
                           'products_price_sorter' => '0',
                           'master_categories_id' => ''
                           );
    NOTE: this would need to be done on each of the:
    collect_info.php

    files for each Product Type that you use ...
    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
    Apr 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: Default Products Shipping Weight

    Many thanks... That works perfectly

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

    Default Re: Default Products Shipping Weight

    Thanks for the update you were able to change the default on the products_weight ...
    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!

 

 

Similar Threads

  1. Adjusting shipping weight for multiple products?
    By deb in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 21 Jun 2009, 06:03 AM
  2. charged Shipping weight is higher than actual shipping weight
    By SKOB in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 20 Feb 2009, 07:38 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 default shipping weight ?
    By nigelt in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 5 Jul 2007, 05:54 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