Guest Posted July 8, 2003 Share Posted July 8, 2003 Hi, I've searched in the contributions, the wiki documentation and these forums but I can't find out - How do I add more fields to the product information? - so when adding products to the catalogue in the admin, as well as specifying: -products name -products price -tax class -products description -products model (etc) I need to specify more properties, such as: -minimum temperature -outer fabric -colour These are NOT the same as attributes because the customer has no choice (these are fixed properties of the product). I don't want drop-down boxes to appear with just one option in it when customers add it to cart (as happens with attributes), but nor do I want to simply list these properties in the description. Please help??!! thanks Louise Link to comment Share on other sites More sharing options...
Guest Posted July 8, 2003 Share Posted July 8, 2003 Here is one link. Here is another. Good luck, Matt Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2003 Share Posted July 10, 2003 If the properties you want to add are the same across the range, then maybe the new contribution that allows you to add extra product fields will help. If you search for the contrib or the thread using ISBN you should find something. Link to comment Share on other sites More sharing options...
Guest Posted July 17, 2003 Share Posted July 17, 2003 Hi, Thanks for your suggestions - Matt I looked at those links to forum threads, read all the posts - I tried out the code of Mouflon's (for adding 'unit' as a property - except I changed the name to down_quality which is a field in my database that I want) but I couldn't get it to work - it wasn't getting the text out of the database - could have been something to do with the fact that it was an old version of osCommerce it was written for. Lynda - I looked at the contributions, I tried to follow the instructions in EZ NEW FIELDSv1.0 but couldn't get it to work (it was trying to add an extra retail price field). I couldn't see any other contributions relating to adding new fields. Do you know the name of one, or has one not been written for adding generic product fields? I have added the new fields I want to the database (products table) no problem (phpMyAdmin) but can't get data in and out of them. Do you, or does anyone know the name of a contribution / tutorial to add new product properties? I am new to php and osCommerce, I don't have the knowledge to do it without guidance!! thanks for your help, Louise Link to comment Share on other sites More sharing options...
Guest Posted July 17, 2003 Share Posted July 17, 2003 Hi, Lynda - I looked at the contributions, I tried to follow the instructions in EZ NEW FIELDSv1.0 but couldn't get it to work (it was trying to add an extra retail price field). I couldn't see any other contributions relating to adding new fields. Do you know the name of one, or has one not been written for adding generic product fields? http://www.oscommerce.com/community/contributions,126 Link to comment Share on other sites More sharing options...
Guest Posted July 18, 2003 Share Posted July 18, 2003 I tried out that contribution, but could only 1/2 get it to work - it's for an old version of osCommerce I think because it refers to 'default.php' instead of 'index.php'. The reason I can't make it work it because you have to edit catalog/includes/modules/product_info.php but this file does not exist in my version (I just downloaded osCommerce-2.2ms2 today) Does anyone have any idea where the code that used to be in catalog/includes/modules/product_info.php has gone? (Or whether there is a newer version of this contribution?) Code is: $define_list = array('PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL, etc... case 'PRODUCT_LIST_MODEL': $select_column_list .= 'p.products_model'; break; This kind of thing. Thanks for your help, Louise Link to comment Share on other sites More sharing options...
Guest Posted July 18, 2003 Share Posted July 18, 2003 OK I found that code (it was in index.php) and modified it - so theoretically this contribution should work now... It works in the admin section but I can't make the new property display in the catalogue (on the products pages that customers will see). Can anyone who used 'Add_ISBN_UPC_SKU_v1b' successfully tell me how to make the new product properties display? thanks, Louise Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.