Jump to content

Create the field in administration


beshop

Recommended Posts

Hello

 

I would like the administration to create in products new the field.

The database I created in ps_product new column 'oy' and I add it to the administration.

 

Field I have, but input dont read information: 

 

<input maxlength="13" type="text" id="reference" name="reference" value="{$product->oy|htmlentitiesUTF8}" />

 

where i find SELECT?

post-1045081-0-80154400-1436857100_thumb.jpg

Link to comment
Share on other sites

What do expect when you write an array to a database? A field in a table is just a couple of bytes. So it will have no idea how it should save your an array of select values. Do you want comma-separated values, do you want semi-colon separated values, do you want to store the complete source code of the html select statement? In fact if you study Prestashop such lists are usually stored in separate tables.

Link to comment
Share on other sites

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...