Jump to content

Custom Input Text Field for all products


Recommended Posts

Good day,

I'm looking for a way to add two customization fields (text fields in this case) to all products, right now i have to do it one by one but i have over 200 products i have to do.

So i'm trying to find a way to have the two input text fields for all the products instead of doing it manually.

Any help is greatly appreciated.

Have a great day

Mario

Link to comment
Share on other sites

You could try modifying the database directly use PHPMyAdmin. Go to the ps_customization_field and ps_customization_field_lang tables and then insert as many rows as you need.

For the ps_customization_field, enter the product ID, the type as 1, and required as 0 or 1 (required or not required).
For the ps_customization_lang_field, enter the customization ID, the language as 1, and the name you want the field to have.

Perhaps you could come up with an SQL query to make it easier.

Link to comment
Share on other sites

  • 3 months later...

after i create the customization fields, how would i connect them to the particular product? almost all my producst require some customization and i would like an easier way to do this...
see pictures of 2 tables-
this is the customizations tables:
text fields #10, 11, 12 are connected to product amarelas
!http://shindigDada.com/slips/ps_customization_field.jpg!
but in the product table i can only see that it specifies 3 text fields but not which text fields...
!http://shindigdada.com/slips/text-fields.jpg!

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...