6

Finally I fixed it, this is what I did to find the issue: Installed locally a brand new blank magento same version 1.9.2.4 directed it to the test database. And check cross border trade works fine. Maybe the issue is in the theme templates. Disable the theme in the real project. Check that the issue is still in the prices. Issue is not in the theme. Disable ...


3

I can't reproduce your issue so I don't know if this helps or note but here is my setup :)


3

By using the \Magento\Tax\Model\Calculation\Rate you can get a list of all the Tax Rates. $getAllTaxRates = $this->taxRatesModel->getCollection()->getData(); foreach ($getAllTaxRates as $tax) { $taxid = $tax['tax_calculation_rate_id']; $taxCode = $tax["code"]; $taxRate = $tax["rate"]; } where taxRatesModel is an object of Magento\...


3

You need to do some backend Configuration. 1. Create a different customer tax class for " Not logged in" customer group and link with the same customer group Store => Tax rule => Advance setting => Add Customer Tax Class 2. Customer => Customer group => Change tax class for Not logged In Customer Group Create a Tax Rule=> Advance setting => select the ...


2

Under System > Configuration > Tax > Calculation Settings there are options for the order tax rules are applied, including Apply Customer Tax which can be either Before Discount or After Discount. I'm assuming you currently have it set to Before Discount.


2

I was able to get this working using only javascript. A similar solution is below: define([ 'Magento_Checkout/js/model/quote', 'Magento_Checkout/js/model/resource-url-manager', 'Magento_Checkout/js/model/payment-service', 'mage/storage', 'Magento_Checkout/js/model/payment/method-converter', 'Magento_Checkout/js/model/full-screen-...


2

I think the first price of 34.56€ comes from the fact that you are displaying the shipping price. If you check your screenshots, you set Display shipping price: including tax Hope it helps :)


2

You have set your catalog prices to including tax If the product price including tax is 100 and the tax rate is 19% then the product price excluding tax is 84.03 and the tax amount is 15.97. 84.03 + 15.97 = 100 Your tax calculation is correct.


2

Please change the code as below and try From: if (trim($total['shipping_description']) == "Shipping_methode_name") { ------------in this line I want to clear all tax ------- $total->addTotalAmount('tax', $customTax); } To: if (trim($total['shipping_description']) == "Shipping_methode_name") { -...


1

Clearification to all, our tax consultant made a misstake, our dropshipping dealers still havent to pay taxed on our shop, they have to collect them directly from the customer. So its basically working with the default Magento2 tax configurations.


1

Issue in my case was, VAT is charged if the merchant and customer are located in the same EU country. VAT is not charged if the merchant and customer are located in different EU countries, and both parties are EU-registered business entities. Use Merchant VAT ID in Magento and Also After creation of the Custom Account I was missing validating the VAT in ...


1

The built in validator refers to this endpoint https://github.com/magento/magento2/blob/fbfac3e51730abe2b79c6072544bc9742fcf7606/app/code/Magento/Customer/Model/Vat.php#L47 https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl Can you curl to this okay? Try over port 80 and 443 if you can


1

To display both prices on catalog page you have to change "Display Product Prices In Catalog" field in Stores->Configuration->Sales->Tax->Price Display Settings. Change to Excluding and including tax. After this please run php bin/magento c:c and php bin/magento c:f EDIT: under Price Display Settings you have Shopping cart display ...


1

First of all I want to say that your approach might not be the best one. I don't have all the facts and I don't know what your requirement is, but I have a feeling that making the tax calculator depend on your cart class may not be the best idea. Maybe your should explain the problem you are trying to solve instead of how you are trying to solve it. Maybe ...


1

Hay yesss, I found a solution so I'm answering to myself, maybe this will be usefull to someone else with the same needing. N.B. Sorry if the code is not too much pretty, since I'm not a developer... any suggestion or contribution in this way will be appreciated, I'll take care of keeping this post updated. The files edited are: vendor/magento/module_tax/...


1

Finally, I got this fixed, I was missing Origin settings. Store >> Configuration >> Sales >> Tax do the following configuration. Store >> Configuration >> Sales >> Shipping Settings do the following configuration (I was missing this setting).


1

<?php if($_product->getTierPrice()){ $tierPrice = $_product->getTierPrice(); $regular_price_of_custom = $_product->getPriceInfo()->getPrice('regular_price')->getAmount()->getValue(); foreach ($tierPrice as $key => $value) { $regular_price_of_custom_tot = ""; $qty = (int)$value['price_qty']; ...


1

The answer is simple but perhaps not the answer you want. You've got your products stored as price inc vat. So zero rate the prices will come through as they are. Because you are applying zero rate. If you store your prices ex vat and update the settings accordingly you will get desired result. However I'm fully aware this may not work for you or the ...


1

Do not use "PR" country code: it is no longer legit since USA annexed it in the late 2017.


1

Here you can change settings to display price including Tax on cart page Admin->Stores->Configuration->Sales->Tax->Shopping Cart Display Settings


1

Make a backup first! And test first in develop environment. To convert all prices from net (german: netto) to gross (german: brutto) ones, you need to issue the following SQL statement. But at first you need to obtain your attribute_id of the price attribute. To do so, go to backend > stores > attributes > product and click on the price attribute. Obtain ...


1

to modify a Magento attribute on a store basis, you may use the function updateAttributes. Please see below a snippet that may show you how it could work: <?php $storeId = 'germanStoreId'; $collection = Mage::getModel('catalog/product')->getCollection() $collection->addMinimalPrice() ->addFinalPrice() ->...


1

If you don't want to show the tax at your frontend just go to your admin & traverse to the below location admin > Stores > Configurations > Sates > Tax > Shopping Cart Display Settings Set Display Prices to Including Tax & Display Subtotal to Including Tax like the given Image & save it Then see the frontend changes it will ...


1

After hours of wobbling around the Swagger documentation i figured it out myself: There is no {TAXCLASSID} to {TAXRATEID} Function. You must iterate over the taxRule Repository with the following searchCriteria field = id value = 0 condition_type = gt after this there is a node called "product_tax_class_ids". The Array-Index corresponds to the Array-...


Only top voted, non community-wiki answers of a minimum length are eligible