How to enable / disable “add to cart” functionality based on undeliverable location ?

How to enable / disable “add to cart” functionality based on undeliverable location ?

Go to  ZipLoc App and Click on "Setting".

Here, you can see "Disable Add to Cart" section.  
In “Disable Add to cart-> Add to cart Restrictions”, Click on “Activate” then for undeliverable location, it won’t allow proceeding to the cart page and if deactivate, allows adding to the cart.



Click on “save” for add/save settings.