Search results for: woocommerce
custom order status wpadmin
/* * Register a custom order status * * @author Misha Rudrastyh * @url https://rudrastyh.com/woocommerce/order-statuses.html */…
Hide SALE! Badges
/*Hide WooCommerce SALES Badges*/ .woocommerce span.onsale { display: none; } /*Hide SALES Badges in home page…
Resetting the Vendor & Pending Vendor Roles
add_filter('woocommerce_login_redirect', 'redo_roles', 10, 2); function redo_roles() { remove_role( 'pending_vendor' ); add_role( 'pending_vendor', __( 'Pending Vendor', 'wcvendors'…
Allow WooCommerce Shop Managers to manage vendors
/* Lets Shop Managers edit users with these user roles */ function wcv_allow_shop_manager_role_edit_capabilities( $roles ) {…
Add Custom Taxonomy to Woocommerce Single Product Page
add_action( 'woocommerce_product_meta_end', 'wcv_add_brands_single_product' ); function wcv_add_brands_single_product() { global $product; $taxonomy = 'wcv_brands'; // The custom taxonomy…
Button - Add to cart to Buy Now
add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) { if ( 'Add to cart' == $text ) { $text…
Continue Shopping Button
/** * Add Continue Shopping Button on Cart Page * Add to theme functions.php file or…
Button - Read More to Buy Now
changes read more to buy now
Product tabs
ADDS A TAB IN PRODUCT PAGES
Product order WooCommerce
Force alphabetical sorting on all product pages
Auto SKU to products sanitize check dupes by initial of POST word if composite word or 1st 3 letters fom single word POST
Run once SAFE VERSION 1.1 detailed code description paste script activate - > save -> ✅…
Remove Caddy Premium conversions from showing on the WooCommerce orders page
This prevents Caddy Premium from modifying the orders table and item display
Hide Out Of Stock items on WooCommerce Shop page when sorting (popularity/price) applied.
Hide Out Of Stock items on the WooCommerce Shop page when sorting (popularity/price) applied.
Move "Ships From" under the Product Meta, in the single product page template
Move "Ships From" under the Product Meta, in the single product page template by using 'product_ships_from'…
On Browsing WooCommerce Products
This snippet targets window shoppers and encourages them to add more products to their carts. This…