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
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 8 months ago
This will autocomplete orders that are on virtual products, Had to change a small piece of code for it to work with wordpress 6.2.2 and php 8.2.6
WooCommerce
AI Verified
Added: 5 months ago
Last Updated: 2 months ago
This code snippet removes the price sorting options ("Price" and "Price (desc)") from the sorting dropdown menu in the WooCommerce catalog. This can be useful if you want to customize the sorting opti...
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: 1 year ago
Last Updated: 1 year ago
Align Icon List widget items to the top, instead of the middle
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Hides the product summary in single product globally
Category
Snippet Status