I want to add select input in add product page. how to do that?


#1

as per my requirement i need to add a custom select field in add product page
anyone help pls


#2

You’d need to enhance the product schema with your new custom select field. You can find an example on how to do this in the Swag Shop blog post: https://blog.reactioncommerce.com/building-a-swag-shop-lp2/

The part you’re probably most interested in is the featuredProductLabel.

The code for that is fully open sourced. This should get you started. You can find it here: https://github.com/reactioncommerce/reaction-swag-shop

Good luck,
Michael


#3

thanks a lot @prinzdezibel
i will try this