i have added 2 fields (decimal & numeric) to the database and amended a no of scripts to reflect the inclusion of the two fields this as advised in some of the forums namely:
admin/includes/modules/products/collect_info.php
admin/includes/modules/products/preview_info.php
admin/includes/languages/english/product.php
admin/includes/modules/update_product.php
/includes/modules/pages/product_info/main_template_vars.php
admin/includes/modules/category_product_listing.php
/public_html/shop/zencart/includes/templates/template_default/templates/tpl_product_info_display.php
but nothing seems to work.
e.g. collect_info.php
<td class="main"><?php echo TEXT_PRODUCTS_COUNT; ?></td>
<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_count', ($pInfo->products_count== 0 ? 1 : $pInfo->products_count)); ?></td>
/templates/tpl_product_info_display.php
<?php echo (($flag_show_product_info_count ==1 and $products_count !=0) ? '<li> . TEXT_PRODUCTS_COUNT . $products_count . '<li>' : '') . "\n"; ?>
i dont think the above is correct.
any ideas!!



Reply With Quote


