Search results for: woocommerce
Show WooCommerce Cart and Checkout on the Same page Free No Plugin
This post outlines the code implementation for creating a streamlined checkout experience by merging the cart…
to add WordPress WooCommerce WhatsApp checkout
Post Intro This code snippet implements functionality similar to a WooCommerce code snippet that would enable…
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',…
to add WooCommerce WhatsApp Product Enquiry. NO API Used.
Post Intro How to Add a WooCommerce WhatsApp Enquiry Button (No API Used) In this blog…
Get Wholesale Price Array For A Product Based On A Wholesale Role
/** * Class that handles wholesale price HTML generation and display. * * @since 1.0.0 */…
Disable filter added by the Caddy plugin that hides WooCommerce shipping rates
Removes the filter that hides other WooCommerce shipping rates when free shipping is available, allowing all…
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() )…
Local pickup custom percentage discount in WooCommerce checkout
Offering discounts for local pickup is a great way to attract customers who are looking for…
WooCommerce Programmatically Cancel Pending Orders After 1 Hour
Post More Detail It’s possible that you’re thinking, “But I can already do that using the…
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…
Show 'NEW' Badges for Recently Added Items in WooCommerce
This code snippet adds a “NEW!” badge to products in WooCommerce, indicating that they are newly…
modify woocommerce countries list
modifies Woocommerce built in country names to Armenian Regions disabling the rest
Bulk add shipping zone methods
Adds shipping zone method , with prices and some options, must be run once