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…

Untitled Snippet

{"generator":"Code Snippets v3.6.5.1","date_created":"2024-07-30 20:37","snippets":[{"id":5,"name":"No price","code":"add_action( 'init', 'wpspecial_nascondi_prezzo_agli_utenti_non_registrati' );n nfunction wpspecial_nascondi_prezzo_agli_utenti_non_registrati() { ntif ( ! is_user_logged_in() )…

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…

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

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

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

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…

1 2 3 5