Magento 2 table rates- minimal amount necessary? - php

I use the Magento 2 table rates as calculation system for shipping costs.
For low weight products the shipping is for free. Or in the table rates file noted as € 0,00.
But it seems not to work for customer view in shopping cart. If a customer gets as high as € 0,00 for shipping costs the Magento system shows "Shipping: Not calculated yet".
So I think the Magento table rates system cannot deal with total shipping costs of € 0,00.
Is this indeed the situation or can I do something to get the € 0,00 amount accepted in the Magento store cart?
Thank you for reading and thinking it over!

Related

Prestashop discount to increase total cart price

It's sounds a kind weird but I need to use a Prestashop 1.7 discount based on transportation id = 1 to increase 20% over cart's total.
I don't know where the function is and where to place...
You need to find module. For example Cash on Delivery with fee.

WooCommerce Inclusive Tax for International Orders

I use the API to set the prices on my site and its configured to accept inclusive prices.
I have set up the standard rate for the VAT for my country.
I now need to allow a neighbouring country to be able to purchase from my store. However, I want them to buy at the inclusive price but with no VAT.
I tried adding the country to the standard rates at 0% but that just deducts the local VAT from the price. So if the price is $15 normally, now will show as $12. I need the price to be the same as the local inclusive price but with 0% VAT.
So if I sell something for $15, the VAT may be $3 locally. On my local orders this what will show. Now if my foreign customer wants to buy something, it need to still show it at $15 but the VAT is 0%.
I just can't find a way to get the system configured that way.
Found the answer
add_filter( 'woocommerce_adjust_non_base_location_prices', '__return_false' );

How to increase shipping cost depending on quantity of order?

Pretty much I want to increase the shipping cost depending on the number of items in order... e.g. by default shipping cost is 10$ but when number items goes beyond 20 it will add 3$ to shipping cost so it would be 13$
I tried changing codes but it's complicated somehow
I had to find all places that include shipping tax like in 1-blockcart module, 2-one page checkout, 3-payment, 4-inserting to database... And then change some codes. And it's a lot of work and hard
Prestashop includes a shipping range functionality. You can define shipping cost depending of the total weight of your products.
If you want a simple implementation, you can define all your products weight to 1Kg and add shipping cost ranges like those:
0kg => 20kg : 10$
20kg => 40kg : 13$
40kg => 99999kg : 15$

How to change Shipping Cost per two product in woocommerce?

I am using woocommerce plugin in a wordpress site.
The shipping method is to be calculated on the basic of USPS Priority 1-Day mail $5.75 per pound (lbs).
Each shirt ways 1/2 a pound in weight, so 2 shirts should not be charged additional shipping.
Means I want to calculate the shipping method for per two shirt i.e. $5.75 not as cost per product.
then the shipping will be calcalated as like ths
3 -4 shirts $11.50 and 5 shirts $17.25 etc...
The basic requirement is if I would be able to change the shipping cost per product to per two product the query will be solved. How Can I get this method.
Any help will be appreciated.

Changing currency in cart column unit price excluse tax error when currency converted

I've two store view, one in EUR (primary currency) and the other in Dollar.
Tax is 21% for both stores, included in product price.
In the cart, if I change the store to the Dollar store view, column "Unit Price (Excl. Tax)" isn't correctly calculated. It seems that only on this field currency conversion is done two times.
This is the content of the store
http://dl.dropbox.com/u/546584/cart_problem_DOLLAR.png
http://dl.dropbox.com/u/546584/cart_problem_EUR.png
Some one can halp me solve this problem?
I've done a lot of debug but can't bring myself out of the tunnel.
Tkis!
If the store is saving the prices incl. tax, then You'd be careful when calculating the price excl. the tax.
If the tax is 21%, then the price incl. tax is 121% of the price excl. tax, thus the price excl. tax should be calculated like $priceExclTax = $priceInclTax / 1.21;.
Download version 1.7.0.2
Copy to local
Mage_Tax_Model_Sales_Total_Quote_Subtotal
That should fix your problem

Categories