Found exactly the snippet I was looking for to add a fixed fee amount to each individual cart item regardless of price. This site sells tires. So each tire will be charged 3$. Here is the code I’m using and works: I’m not very good with PHP and I’m learning as I go. I did spend 3 hours trying to
Tag: fee
How can I exclude Taxes From a custom COD Surcharge in WooCommerce?
I’m wondering how can I exclude the Cash on Delivery Surcharge from Taxes? I have used Add fee for Cash on delivery payment method (cod) in Woocommerce code to add the COD Surcharge I want to have this charge excluded from VAT & no VAT/TAX shall be applied to it. Any help will be appreciated. Answer To have that COD
Shipping cost based on cart total weight in Woocommerce 3
In my Woocommerce Webshop I do have different Products. I would like to have shipping cost calculated on total cart items weight: from 0 to 6 Kilos the cost is 5 €, from 6 to 12 Kilos the cost is 9 € Actually if I have a Product which is 1 Kilo the shipping cost is 5 €, but if
Woocommerce Progressive extra cost based on total number of items in the cart
I am looking for some code which can make an extra charge based on the total number of items in the cart like: If number of items in cart is > 6 ===> extra cost = 5 If number of items in cart is > 12 …
woocommerce_cart_calculate_fees load after woocommerce_before_cart_table
I have a problem trying to do some calculations with woocommerce_before_cart_table custom values and passing them to woocommerce_cart_calculate_fees. The problem is that woocommerce_before_cart_table is loading first and I am not able to pass that values from woocommerce_before_cart_table to woocommerce_cart_calculate_fees hook… How can I pass that calculation on woocommerce_cart_calculate_fees hook? Thanks Answer So If I understand you are making some test