AI Verified
Add WooCommerce Product Type as Admin Column
Make it easier to spot if a Product is a Simple or Variable Product.
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: 6.4
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:
10/05/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:
Potential vulnerability found : Cross Site Scripting
Found on line : 23
Code : echo(ucfirst($product->get_type()
Vulnerable line : 18
Code : $product = wc_get_product($postid));
Found 1 vulnerabilities
1
1 month ago
Very useful.
Please see some snippets below related to this snippet..
WooCommerce
AI Verified
Added: 5 months ago
Last Updated: 5 months ago
This will clear the Woo Cart after 5 mins of inactivity
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Showing the number of units sold for products on the archive page is a great way to introduce Fear Of Missing Out (FOMO). It also gives your customers an indication of the most popular products in you...
These are some popular snippets from this users codevault..
Performance
AI Verified
Added: 1 year ago
Last Updated: 4 weeks ago
Remove Unused Javascript - and improve your Page Speed Insight Score
WooCommerce
Pro Verified
Added: 1 year ago
Last Updated: 2 days ago
Deactivate some WooCommerce Checkout Fields from showing
Elementor
AI Verified
Added: 7 months ago
Last Updated: 1 month ago
This can be used for any WordPress Builder to aid working with CSS Grids.
Category
Snippet Status