meanshop icon indicating copy to clipboard operation
meanshop copied to clipboard

Can't select category for adding or editing product

Open Manu270891 opened this issue 8 years ago • 4 comments

When creating or editing a product, there is no category field for selecting a category. How can we implement that?

Manu270891 avatar Aug 24 '16 20:08 Manu270891

You can list the Categories in a dropdown and associate them with the product. Take a look at seed.js to see how to associate products with categories

amejiarosario avatar Aug 24 '16 20:08 amejiarosario

Can you give me an example code please? I suppose I must edit the _product_form.html file, but I don't know how to implement it :(

Manu270891 avatar Aug 24 '16 20:08 Manu270891

yes an example of code to set up categories in the product controller would be appreciated, having a hard time on that

merry75 avatar May 04 '17 13:05 merry75

Any answers?

costadanilofreitas avatar Dec 29 '17 03:12 costadanilofreitas