Salvo Posted October 18, 2002 Share Posted October 18, 2002 Hi all, Just a small question. If I wanted to add 2 more fields to the product table and be able to enter/modify/display like for example "model field". What do I need to do? is it a long and laborious hack or a strait forward one? Thanks Salvo Link to comment Share on other sites More sharing options...
Mark Evans Posted October 18, 2002 Share Posted October 18, 2002 is it a long and laborious hack or a strait forward one Its straight forward if you know what your doing ;) Just take the model field as an example and you will see how easy it is :) Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
Salvo Posted October 18, 2002 Author Share Posted October 18, 2002 is it a long and laborious hack or a strait forward one Its straight forward if you know what your doing ;) Just take the model field as an example and you will see how easy it is :) Thanks Sparky, I will try over the Week End. But to make sure can you please confirm what I will be doing and add what esle I need to to? 1 - using phpmyadmin I will add the field needed. 2 - in product_info.php I will add the part to retrieve like the "model" 3 - here I think its the category.php where I will need to add the part to save info into new field. can you confirm this? 4 - add the the language part... Is anything else I need to do? I would appreciate if you could direct me on this. Thank you Salvo Link to comment Share on other sites More sharing options...
Mark Evans Posted October 18, 2002 Share Posted October 18, 2002 3 - here I think its the category.php where I will need to add the part to save info into new field. can you confirm this? Yep - but its called categories.php :) Is anything else I need to do? Nope that should cover it :) Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
Salvo Posted October 19, 2002 Author Share Posted October 19, 2002 Hi all, I tied but I got lost... can someone help in doing this please? maybe some other users will like the idea. I have to need of this otherwise I have to enter all this info to the product description and it time consuming. pruduct location address, tel, etc etc. I have a table called "location" with about 12 fields. the table doesn't have to be in all the languages, just one will do so. option 1 I add the 12 fields to the product table like ad example "model" option 2 have this table and realted to the product by ID. Adding the fields to the product table is not the problem, creating the location table it is not the problem... My problem is the categories.php and product_info.php :-( Thanks all Salvo [email protected] Link to comment Share on other sites More sharing options...
Salvo Posted October 20, 2002 Author Share Posted October 20, 2002 I am still looking for the solution please help....... anything appreciated... Salvo Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.