3 Snippets
<10 Favourites
<10 Downloads

Continue Shopping Button

/** * Add Continue Shopping Button on Cart Page * Add to theme functions.php file or…

Carla Mawyin
<10

Auto register guests that purchase

function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…

Carla Mawyin
<10

Update Cart Automatically

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

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…

Add Custom Taxonomy to Woocommerce Single Product Page

add_action( 'woocommerce_product_meta_end', 'wcv_add_brands_single_product' ); function wcv_add_brands_single_product() { global $product; $taxonomy = 'wcv_brands'; // The custom taxonomy…

login redirect changed from default my account page to home page

/** * WooCommerce My Account Page login Redirect */ add_action( 'wp_login', 'owp_redirect_after_logout' ); function owp_redirect_after_logout() {…

Remove Emojis

/** * Disable the emojis in WordPress. */ add_action( 'init', function () { remove_action( 'wp_head', 'print_emoji_detection_script',…

1 3 4 5