1

The thing is, i need a set of predifined values and characteristics for products, if there will be a category if possible. So I need to have a list of predefined values for my application.

When user will create or edit product, he/she should choose characteristics from ready list of possible characteristics/values/categories. And system will store id's of those characteristics for each product.

Something like:

Characteristic:Color, Value:Red;

Characteristic:Color, Value:Black;

Characteristic:Color, Value:Green;

Characteristic:Material, Value:Metal;

Characteristic:RAM, Value:2GB;

Characteristic:RAM, Value:4GB;

  • 1
    The example you give is so arbitrary, you should look at test data generators. Or explain to us what kind of products and why you need this. – Jan Doggen Nov 6 '16 at 21:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.