Could someone guide me how i can Remove product options wrapper if attribute set to yes
Screenshot
https://prnt.sc/uiebh1
I have successfully remove the add to cart button but when i trying to use same code into wrapper.phtml page showing error.
Code i m using
<?php if($_product->getData('remove_addtocart')==1): ?>
YES
<?php else: ?>
NO
<?php endif; ?>