Search results for: woocommerce
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
Hide Out Of Stock items on WooCommerce Shop page when sorting (popularity/price) applied.
Hide Out Of Stock items on the WooCommerce Shop page when sorting (popularity/price) applied.
Move "Ships From" under the Product Meta, in the single product page template
Move "Ships From" under the Product Meta, in the single product page template by using 'product_ships_from'…
On Browsing WooCommerce Products
This snippet targets window shoppers and encourages them to add more products to their carts. This…
Change the sold by label on the product archive
// Unhook WC Vendors method remove_action( 'woocommerce_after_shop_loop_item', array('WCV_Vendor_Shop', 'template_loop_sold_by'), 9 ); // Define new sold by…
WooCommerce to Google Sheets schaahi store
add_action('woocommerce_order_status_completed', 'send_order_to_google_sheets', 10, 1); function send_order_to_google_sheets($order_id) { $order = wc_get_order($order_id); if (!$order) return; $line_items = $order->get_items();…
Restrict Coupons by Shipping Methods
To find your exact shipping method IDs, you can use either of these quick methods: 1.…
Custom Restriction: Category-Specific Subtotal
Before saving the snippet, please update the three variables at the top of the function to…
WWPAY - Add Purchase Order Number field to Wholesale Payments at classic checkout
One caveat: this only support WooCommerce Classic Checkout.
AffiliateWP - Affiliate Referrals CSV Export
Adds a "Download Referrals CSV" button to the Affiliate Area referrals tab. When WooCommerce is active,…
Auto Generate Virtual Coupon After a Customer Completed an Order
/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…
Remove the coupon section for orders that did not use any coupon.
add_action( 'woocommerce_email_before_order_table', 'conditionally_remove_coupon_section_from_email', 5, 4 ); function conditionally_remove_coupon_section_from_email( $order, $sent_to_admin, $plain_text, $email ) { if (…
META CONVERSIONS API (CAPI) — PURCHASE (SERVER-SIDE)
/** * ============================================================================= * VOELGOED — META CONVERSIONS API (CAPI) — PURCHASE (SERVER-SIDE) * ============================================================================= *…