AI Verified
Make WooCommerce product not purchasable
PHP
Voted: 1 by 1 user(s)
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:
06/07/2024
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
1
1 year ago
This doesn't work, and I've tested on two sites. I'm assuming that the 10 is the Product ID, but it didn't work.
Please see some snippets below related to this snippet..
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Adds a custom sorting option to the WooCommerce catalog page. The two sorting options are "Price: Low-High" and "Price: High-Low".
WooCommerce
AI Verified
WooCommerce
AI Verified
Added: 2 years ago
Last Updated: 1 year ago
For virtual or downloadable products, it may be disadvantageous if the status of the order is still set to "in process" or "on hold". In such cases, the product may not be downloaded or the service ma...
These are some popular snippets from this users codevault..
Elementor
Unverified
Added: 2 years ago
Last Updated: 3 months ago
CSS Code for background gradients on headings in Elementor
Elementor
Public
Added: 2 years ago
Last Updated: 1 year ago
Align Icon List widget items to the top, instead of the middle
WooCommerce
AI Verified
Added: 2 years ago
Last Updated: 1 year ago
Hides the product summary in single product globally
Category
Snippet Status