Search results for: woocommerce
Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
Prevent Wholesale Customer to Add Product to the Cart If The Product is Low on Stock
// Prevent wholesale customer to add to cart if the product is low on stock add_filter('woocommerce_is_purchasable',…
cart preview image stretch fix in oceanWP theme
/*Menu cart hover dropdown box image stretch fix*/ .woocommerce ul.product_list_widget li img { float: unset !important;…
Make All Users Vendors
/** * Make all new user registrations Vendors. */ add_filter( 'woocommerce_new_customer_data', 'wcv_woocommerce_new_user_data' ); function wcv_woocommerce_new_user_data( $data…
Product Expiry For Woo
Supports the Expiry for Woocommerce plugin - WC Vendor
WooCommerce Wholesale Lead Capture Re-send Email Button in User Profile
This snippet will add a resend email button under User profile.
Exibe preços (Parcelado e com desconto a vista), na página do produto e no looping do produto.
Esse Snippet permite adicionar simulação de descontos e parcelamento aos preços exibidos no looping do produto…
Custom WooCommerce Status
This is how to create a custom Woocommerce Status while being able to use the "Mark…
Elementor Store Headers
Gives support for Elementor on WC Vendor Headers
WooCommerce Change "$0.00" to "Free"
/** * Snippet Name: WooCommerce Change "$0.00" to "Free" * Snippet Author: ecommercehints.com */ add_filter( 'woocommerce_get_price_html',…
Remove Order Notes in checkout page
/** * Snippet Name: Remove the Order Notes field section from the WooCommerce checkout. * Snippet…
Disable autogenerated shipping details schema for WooCommerce
This code snippet will disable AIOSEO autogenerated shipping details schema for WooCommerce Products
Enable WooCommerce Product Attributes in Search Appearance
By default, AIOSEO does not include support for WooCommerce Product Attributes in our Search Appearance settings,…
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'…