Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New fields in admin don't insert data into databas


rubygirl

Recommended Posts

Posted

hello all - i have a heavily modded MS2.2 store and need to finalize up on a few things - first, i am trying to add some additional fields to my admin area so that product_info displays additional info per product - i have added the fields into the product_description table in the database, added the code to the admin/categories.php page so the fields are visible for data entry - here's the problem - 1) when i enter data into the new fields and click "update" - the data is converted to 1 letter or number per field:

 

for example: i enter

 

Cartridge: BR-250

Pages: 350

Type: Toner

Name: Brother

 

click update and then go back to the product to edit and i see:

 

Cartridge: r

Pages: i

Type: l

Name: 5

 

 

any ideas on why the data is not being inserted correctly?

 

i look at the fields in the database and there is no info

 

 

ps - by the way - the fields i entered are hard coded fields and not eznew fields or product extra fields - i decided to hard code because i was hoping to add the fields into EP 2.74 and wanted more flexibility with the field placement on the product_info.php page

Posted

okay - so i started over in regards to adding the extra fields and now they are working so yippeee!!

 

my problem now however is with integrating the new fields into EP 2.74

 

i have followed every forum post, every contrib and still no luck - anyone have the eznew fields contrib integrated successfully into ep?

 

if i start there - maybe i can figure the rest out...

 

thanks!

Posted
okay - so i started over in regards to adding the extra fields and now they are working so yippeee!!

 

my problem now however is with integrating the new fields into EP 2.74

 

i have followed every forum post, every contrib and still no luck - anyone have the eznew fields contrib  integrated successfully into ep?

 

if i start there - maybe i can figure the rest out...

 

thanks!

 

I find the easiest way to match up your ep fields is to export a file from your existing store and use those fields.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
I find the easiest way to match up your ep fields is to export a file from your existing store and use those fields.

 

 

yep i had done that numerous times - well i did finally get it working - after all the mix up it was the client spreadsheet that was giving me the problems - all works and i am a happy camper! thanks for the input!

Archived

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

×
×
  • Create New...