I’m trying with the code below to set to zero rate the tax when selling to a European Union state an order of value above 150 euro but I can’t get it to work. Any idea what I’m doing wrong? Answer Use this filter if you want to remove taxes without a dynamic requirements.
Tag: woocommerce
Remove product purchase notes in certain WooCommerce email notifications
I try to remove the purchase notes from the order completed mail. Currently the purchase notes are in the order confirmation mail and also in the order completed mail. But we do not want that info in the order completed mail. So for that I found this input here: https://wordpress.stackexchange.com/questions/340045/how-do-i-hide-the-purchase-note-in-the-woocommerce-order-completed-email I also found that snipped here below. But with that
How to reference a custom product type value in HTML/PHP (WordPress & Woocommerce)
I have a custom button that instead of the ‘add to cart’ button. It should open a link to the brand: id=’_brands_link’ and in the button, and after “Bestel bij” there should be the brand name id=’_brands_name’ (see the created fields in the bone product): I have a function of this buttons now: So in action instead of https://www.google.com there
Change sender name to value from order meta data in WooCommerce email notifications
I’m trying to change WooCommerce sender email name based on the order meta. The website is a multi vendor marketplace, so each order contains meta data with the business name to which the customer orders. So when the order status changes to processing, what I am trying to do is get the business name from the order meta, and set
Customize WordPress WooCommerce checkout page and Payment processing style
I am trying to edit my Wordpress WooCommerce checkout page to remove the space above the PayPal checkout buttons but I don’t know where I should start off. I feel like this can be easily done just by editing code but I’m not really familiar with HTML and CSS. My website My website checkout currently looks like: My website is
How to change product Image when variables are selected in Shop and Archive Pages?
I use this hook to show variations on the shop page. However, the product image does not change when a variable is selected. It works on a Single product page. New to WordPress and PHP, I have thought woocommerce hooks work like a “copy and paste”. Why is it not working for the shop page? How can it work for
Show Estimated Delivery for Products in select Taxonomy in WooCommerce
I am currently using the snippet below to show estimated delivery on my single product pages. I need help making a few changes to the code; I currently have a custom taxonomy (Available now) and would like to modify the code to show for only products with that taxonomy Change the output notice to show eg. (Ready for delivery between
How to change order/location of HTML form elements in registration page of woocommerce
I added custom/extra user details in registration form of woocommerce (image attached ). Fields shown in red box are custom fields. My code for add custom fields. Now i am trying to change the order of all form elements in registration form. But issue is I can only change the order of customize elements add by me.I am not able
Delete the product in the cart, if the same product added in Woocommerce
There are methods that empty the cart if you add a new product. But what I want is only if you add the same product. So adding if ( $in_cart ) does the job but I also do not want to empty whole cart. Just want to delete the same product that added previously and keep the others. I mean
Edit header and footer only for “customer-on-hold-order” email notifications in WooCommerce
I tried to edit the header and footer of emails of my store, but I’m only able to edit if it goes directly to the template of ALL emails. I also tried to copy the email-header.php and email-footer.php to my child theme and nothing happens. Since that the template customer-on-holder-order have listed the code How can I find/edit this? Any