Search results for: woocommerce

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

Hide SALE! Badges

/*Hide WooCommerce SALES Badges*/ .woocommerce span.onsale { display: none; } /*Hide SALES Badges in home page…

custom order status wpadmin

/* * Register a custom order status * * @author Misha Rudrastyh * @url https://rudrastyh.com/woocommerce/order-statuses.html */…

Update Cart Automatically

/** * Update Cart Automatically on Quantity Change * * @author Misha Rudrastyh * @url https://rudrastyh.com/woocommerce/remove-update-cart-button.html…

On Browsing WooCommerce Products

This snippet targets window shoppers and encourages them to add more products to their carts. This…

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

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.

Remove Caddy Premium conversions from showing on the WooCommerce orders page

This prevents Caddy Premium from modifying the orders table and item display

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

Product order WooCommerce

Force alphabetical sorting on all product pages

Hide Price & Add to Cart for Non Logged in Users for Specific Products

This code snippet allows you to hide the price and 'Add to Cart' button for users…

Szállítási módok elrejtése a Kosár oldalon

Ezzel a kóddal a Kosár oldalon lehet a szállítási módokat elrejteni, így a vásárlók azt csak…

Kupon kódok megjelenítése az értesítő email-ekben

Ezzel a kóddal megjeleníthetjük a vásárlás során felhasznált kupon kódokat az értesítő email-ekben. Az egyszerűbb és…

Auto Generate Virtual Coupon After a Customer Completed an Order

/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…

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…

1 4 5 6 7 8 10