crittersmagic Posted November 18, 2006 Posted November 18, 2006 Ok, is there anone out there that might be able to point me in the right direction on this? Below is a picture of what my page looks like, and then below it is what i want it to look like. if anyone can tell me how to get the extra fields to show up on the page like it does in the bottom half of that pic that would be great.....
Guest Posted November 18, 2006 Posted November 18, 2006 Copy how one of the existing fields is done - begin with your database (dont forget the configuration table!), then admin/categories.php, then catalog/index.php and catalog/includes/modules/product_listing.php Sonia
crittersmagic Posted November 18, 2006 Author Posted November 18, 2006 did i forget to mention that i am a noob at this and dont even know where i would copy the fields from? I do have extra fileds 2.0j installed
tapuahk Posted November 18, 2006 Posted November 18, 2006 did i forget to mention that i am a noob at this and dont even know where i would copy the fields from? I do have extra fileds 2.0j installed Don't fret Xgraphico is one of the best here at explaining things... You might also want to ask you question in the support forum for extra fileds 2.0j since others using that mod would like the answer as well.
crittersmagic Posted November 18, 2006 Author Posted November 18, 2006 i dont think that extra fields contrabution has a discusion, cause i have been looking for one, just for that reason.
Guest Posted November 19, 2006 Posted November 19, 2006 Its quite involved. You need to query for the extra fields on the index page from yet another database table (with that contribution) - this is why I generally hard code any new product fields for my clients. You also need configuration options for the product listing display (just as the existing are) - this info is put into the CONFIGURATION table when osCommerce is installed, so you will need to add the new (look at the oscommerce.sql file for pointers) - these are used to control product_listing.php (which you have shown the pic for) Then you need to work the new column headings into /includes/modules/product_listing.php and then the display of the fields themselves in the same file and also new language definitions. You simply need to teach yourself. Look for 'model' in all the places I have pointed out and you will see all the things you must duplicate for each new field. Its much too much to post to the forums. Sonia
Recommended Posts
Archived
This topic is now archived and is closed to further replies.