In use cases where the shop/downloads site is intended to be completely free, it would be nice to have checkboxes to completely disable/remove the Woocommerce basket and checkout pages and any endpoints.
I created a page titled "E-commerce functionality disabled" with content "Sorry, e-commerce functionality has been disabled for this website". Then I set in Woocommerce settings > Checkout > Cart and Checkout pages to point to that page. I then permanently delete the original basket & checkout pages generated by Woocommerce.
When someone tries to access the original basket or checkout pages, they won't exist. If a client created a priced product by mistake and the user ends up adding it to the basket, they'll see the e-commerce disabled page.
Kind of makes things airtight for 100% free download sites!
@onlyonemj
10:18 am