I want to create a toggle button yes/no in the product or category admin side page. also eager to know its description of flow and binding process. I followed many tutorials but don't get the exact solution that I need.
like the below images.
Magento – Magento2: Create toggle button yes/no in admin product page
categorycustom-buttonproducttoggle
Best Answer
For this 1. You will have to create new product attribute
Admin >> Stores >> Attributes >> Product >> Add Attributes
After all these steps this attribute will show on your product page