Search results for: woocommerce

Customer Order Note for WooCommerce Products

Inserts a note field next to the add-to-cart button on every WooCommerce product page. Customers can…

Mike Whelan
<10

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',…

Disable WooCommerce widgets on vendor store pages

/** * Remove widgets from the vendor store and single product pages conditionally. * * You…

WooCommerce Change "$0.00" to "Free"

/** * Snippet Name: WooCommerce Change "$0.00" to "Free" * Snippet Author: ecommercehints.com */ add_filter( 'woocommerce_get_price_html',…

MemberPress: WooCommerce - Show Protected Products on the Shop Page

If we protect products using Rules, they won’t show in the Shop page. To change this…

WooCommerce Wholesale Lead Capture Re-send Email Button in User Profile

This snippet will add a resend email button under User profile.

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;…

Note Orders

add_filter( 'manage_edit-shop_order_columns', 'custom_shop_order_column', 90 ); function custom_shop_order_column( $columns ) { $ordered_columns = array(); foreach( $columns as…

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

Add WooCommerce upsells below the add-to-cart button

// add upsells below add-to-cart button add_action( 'woocommerce_single_product_summary', 'woocommerce_upsell_display', 40 );

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…

Remove Order Notes in checkout page

/** * Snippet Name: Remove the Order Notes field section from the WooCommerce checkout. * Snippet…

Custom WooCommerce Status

This is how to create a custom Woocommerce Status while being able to use the "Mark…

Automatically Delete Woocommerce Images After Deleting a Product

Automatically Delete Woocommerce Images After Deleting a Product

1 2 3 5