woocommerce – Remove “view Order" Button in my Account
What is the correct way to hide only the view Button at My account/orders Any help at all would be much appreciated.
What is the correct way to hide only the view Button at My account/orders Any help at all would be much appreciated.
I'm trying to crate a snipped to display a second "add to cart" button on all product single pages from a specific categorie. This button should add 6 of the current product to the cart. UPDATE: With the info from…
I'm looking to hook into the woocommerce_cart_item_name filter in WooCommerce and would like to display the product ID after the name ONLY for a specific Product. I'm looking at this code: add_filter( 'woocommerce_cart_item_name', 'just_a_test', 10, 3 ); function just_a_test( $item_name,…
I'm trying to force a specific product in WooCommerce to be sold separately. I however want this product to sell in unlimited quantity. Based on Force sold individually product to be bought alone in WooCommerce answer code which works quite…
Objective: add product to cart despite unselected variations, i.e. remove/disable the mandatory nature of variation fields. Issue: WooCommerce's absolute requirement for all variations to be selected before adding to cart. Tried: filtering out/removing/disabling unselected variations before adding to cart using…
I was wondering if is there any simple solution to a problem that we face. I am managing an underwear website and we have single packs and packs of 3. Many new customers are ordering the 3 packs and if…
we need to charge 0 VAT for UK orders that are greater than 150 euro including shipping and payment gateway fees but excluding the 20% normal VAT. So if a British residential address orders something at 130 and shipping and…
I am trying to hook in on the Add to cart redirect, changing the URL for specific product-ID As a starting point, I found the following code (Source: https://jeroensormani.com/redirect-users-after-add-to-cart/) function my_custom_add_to_cart_redirect( $url ) { if ( ! isset( $_REQUEST['add-to-cart'] )…
I should get all the data of the products in the cart (product names and attributes of individual products). As a reference I have this code that allows to display only one attribute per product. Could you help me to…
I'm using the following in function.php and it works great on a single product page. The issue I have is on the cart page when you choose a different quantity it doesn't automatically update the cart. Any ideas? function woocommerce_quantity_input(…