Woocommerce Tax always including tax - php

I am using a table rate shipping option.
I tested two plugins so far, but for both plugins woocommerce seems to calculate the tax wrong.
1: https://de.wordpress.org/plugins/table-rate-shipping-for-woocommerce/
2: https://wordpress.org/plugins/woocommerce-easy-table-rate-shipping/
The problem is, that we are using the option "shipping tax based on cart items"
So I am entering in the table the shipping cost excluding tax.
For example (correct calculation):
Shipping to netherlands 13,99 €
For books the tax (7%) should be added on top, so total: 14,97€ for shipping.
Woocommerce seems to calculate it differently:
Shipping to netherlands 13,99 € including tax.
So total is 13,99 € which is incorrect.
the order shows 13,07€ shipping and 0,92€ tax on shipping.
I cant seem to find an option to give woocommerce the information that given shipping cost are entered exclusive tax.
Does anyone know how to correct the problem?
Because we cannot enter shipping costs including tax, because we have different tax classes on our products.

Talking to the developer of the germanizer plugin, which was interfering with the shipping rates, we found a solution.
Problem was, the Germanizer plugin, calculates shipping according to the pre-tax values not the net vaues.
thats why the shipping cost was always wrong.
Deactivating it, helped. Or setting the pre-tax shipping inside the table rate plugin helps aswell.

Related

While switching betweet the shipping method i.e. free, zip base and fixed ect total cost did not change for subscription product

I am using woocommerce subscription and woocommerce all product subscription plugin for subscription product. The issue that I am facing is in shipping. When issue is the shipping cost is not adds to the total cost in the cart when I try to change the shipping method i.e. zipcode based, fixed and free.

WooCommerce 20% discount coupon and Free shipping

We run a webshop and orders over $35,- get free shipping. Working as it should.
We also have 20% discount coupons. Also working as it should.
Now a client emailed us with the following:
She has for $40,- of items in her shopping bag and also a 20% discount code.
Before she applied the discount code free shipping is active. But after adding the discount code the total order value is les then $35,- (it is $32,-) and the Free Shipping is gone and she has to pay the Shipping costs.
Totaly makes sense but is there a way to avoid this? So the discount is not part when calculating the total cart value so she still has Free Shipping?

magento coupon code for free shipping

I need to generate coupon code which allow customer "Free Shipping". I have generated one with following options:
Promotions -> Shopping Cart Price Rules
All Customer Groups
Specific Coupon
Coupon Code
no condition
Free Shipping - For matching items only
I am getting all shipping methods with price $0 where I want Free Shipping option included with all shipping method with their actual price. There is setting in System -> Configuration, free shipping is available for price > 100, but I want to give free shipping option to some customers using coupon. I am getting following options:
Any suggestions?
This is the way Magento rules generally work.
To implement this change, you need to either write your own extension or get a ready-to-use solution.
E.g. our Magento shipping extension is capable of doing that: http://www.mageworx.com/shipping-suite-magento-extension.html

Incorrect shipping calculation in Magento

I have a Magento site which uses the webshopapps matrixrates plugin for shipping rates.
The shipping cost doesn't seem to be calculating correctly and appears to apply a discount to the product cost.
In the screenshot below, the basket contains one product that has a price of €30, the shipping option 'European Airmail' (€5.50) has been selected.
Therefore the total cost should be €35.50
However the cost comes out at €30.55.
It's almost as if the Delivery cost is subtracted from the total (ignoring euro cents)
Interestingly there are two instances of this site, the UK instance appears to work correctly but I can't find anything different in the config.
I've tried comparing a CSV export of shipping rates but can't see anything obviously different.
What do I need to do to get the cost to come out as the correct amount (€35.50)?
Any suggestions welcome!
EDIT
If I dump out the quote object, the price for the product shows up as 25
But if I just load the product and dump it's data, I get the actual price which is €30:
I've got the tax amount with:
<?php
$taxAmount = $quote->getShippingAddress()->getData('tax_amount');
?>
And that comes back as 0.000
So I'm at a bit of a loss as to what is going on here.
Got to the bottom of this, it was a catalogue price rule for free shipping upto 4.95..
I had removed all shopping cart price rules already but wasnt aware that anyone had created a catalogue price rule so didnt consider it. Thanks for the suggestions guys.

Adding discounts to shipping in magento

I was wondering if anyone here has ever added an automatic discount to a shipping method in magento before. FedEx is the only company I ship with, but I have 3 different methods of FedEx. I want to add a discount to 2 of the 3 methods, and display these discounts at the method selection screen automatically at checkout(to make it seem like they are getting a deal with the higher priority shipping I suppose?). I found which file displays the methods, but I don't think this is the file I need:
template/checkout/onepage/shipping_method.phtml
Does anyone know which file these are displayed in so that I can slash out the real price, and add the discounted price bellow it? I suppose I could change the shipping price by just subtracting from the variable price, correct?
I suggest this thread for adding custom discount price but its not related to any of shipping method price calculation, its might helpful, as its helped me well..
http://www.excellencemagentoblog.com/magento-add-fee-discount-order-total

Categories