Search results for: woocommerce
WooCommerce number of archive products per page
Change WooCommerce Archive products number per page code snippet.
Update Cart Automatically
/** * Update Cart Automatically on Quantity Change * * @author Misha Rudrastyh * @url https://rudrastyh.com/woocommerce/remove-update-cart-button.html…
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
Change the "Add to Cart" Button Text
Change Add to cart and Buy now buttons
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