Magento 2 Add Yes/No Attribute in Magento 2 programmatically By Jigar Karangiya on Tuesday, February 13, 2024 This blog shows how you can add custom yes/no product attribute in Magento 2 programmatically using data patch.