Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding New fields


GeordiSi

Recommended Posts

Hi All. I'm very new to osCommerce and so I'm only just getting my head around the coding. I want to add new fields to the product listing. I tried the "product extra fields" contribution which did the job but then realised that it did not allow me to add new fields to the product listings and places them in a separate SQL table.

 

Ideally I'd like a contribution which allows me to add new fields to the products (maybe even change the names of existing fields although I may be asking too much), be fully searchable and appear in the product listings. Anyone got any suggestions?

Thanks.

Link to comment
Share on other sites

I use this one

http://www.oscommerce.com/community/contributions,3173

 

And then for the various features you need you customize the scripts. But once you have the extra fields tables in place you enhance the database queries for various scripts including the search. Look in the product_info.php changes of this contribution to see how to access the extra fields for a product.

Link to comment
Share on other sites

Thanks Enigma1. I've decided to try new_field_everywhere: http://www.oscommerce.com/community/contributions,3164

 

Seems to have everything I need (search integration, product listings which can be manipulated from admin). I really like the idea that it is compatible with easypopulate. Just a pity that it doesn't allow me to add new fields from the admin section (as I can do with Product extra fields) but I guess I can't have everything. The only reservation I have is that by adding all product fields to a single table it could cause me problems when my database becomes large. Time will tell.

Thanks.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...