AI Verified
Make Woocommerce product not purchasable
If you have items that can't be sold (for instance a overview of companies) disable the possibility of purchasing.
PHP
Voted: 0 by 0 user(s)
enable and go!
Scroll down to see more snippets from this codevault.
The author has indicated that this snippet is compatable up to wordpress version: Not Specified
Our AI bot has checked this snippet is compatable up to wordpress version: 6.1
Free & Pro
Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.
Pro Only (Coming Soon)
You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.
Last modified:
14/11/2022
This snippet has the following status:
AI Verified
This snippet has been tested by our AI bot, see any comments below.
AI Bot Comments:
Found 0 vulnerabilities
0
Please see some snippets below related to this snippet..
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Do you want to be able to display product specific information under the add to cart button on the product loop item which appears on the product archive page? Maybe you want to let customers know of...
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 day ago
This snippet generates a new custom field on the registration form which asks the user to confirm their email address (enter it a second time). By asking the user to confirm their email address, mista...
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Change the Add To Cart button text on the archive pages of WooCommerce
These are some popular snippets from this users codevault..
WordPress Admin
AI Verified
Added: 1 year ago
Last Updated: 8 months ago
With this snippet your media library will scroll for infinity and beyond!
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
I always like to have the add to card button underneath the price ( I mean there is where you buy)
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Want to use Gutenberg for Woocommerce? This snippet will make it happen (but might be useless in the future though)
Category
Snippet Status