/admin/includes/modules/product/collect_info.php
near the top of the file, you'll see a section like this: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, [B] 'products_weight' => '',[/B] 'products_date_added' => '', 'products_last_modified' => '',note the line that says:'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:'products_weight' => '[B]500[/B]',or if 500 grams is really 0.5, make it:```
'products_weight' => '[B]0.5[/B]',
.
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.