Q:

Add new product fields Prestashop 1.5

How to add new product fields programaticly on PRESTASHOP 1.5 ?
I created these fields on SQL but I don't know how can I save it?
The fields are 3 bool, and I want to save it within a radio button option.

A:

You should look at Product.php, and ObjectModel.php, that correspond to the Product class and the ObjectModel class.
If you want to add fields in Product, you have to add attributes in the class, and update the $definition variable in the class by adding the definition of the attributes you added.
Regarding the radio button, it's part of the controller, take a look at AdminProductsController.php
Hope it helps,
Br,

