Is there any way to Disable Add to Cart button Magento 2.4.2 on all pages and activate only on supported zipcodes using MageArray Delivery Check Plugin? Can you please list out all the steps required?
I would like to make the add to cart button freeze if the zipcode of the users they entered in the check zipcode field is unsupported on - Product Page and on - Express Checkout Page & display the message set on MageArray Plugin via Backend “Zipcode is invalid, so you can’t buy this product.”
The Add to Cart Button must be disabled by default on all pages and only activated on supported zipcode input. Please note, theme uses Ajax Add to Cart as well which mustn’t be changed. Customer will use this to Add to Cart quickly.
I’m using Magento 2.4.2
- MAGENTO 2 CHECK DELIVERY AVAILABILITY EXTENSION by MageArray (Free) Magento 2 Check Delivery Availability Extension