-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong logic exporting product prices with tax excluded #43
Comments
Furthermore, the function
|
As workaround you can use: A lot of settings are hidden for some reason, probably after migration of the plugin from facebook to meta. |
The setting is already set to 0. |
The current logic of exporting tax is that the Since we do not see any issues with the tax on the feed file, we are closing this ticket. Please upgrade the Meta version to the latest and validate. If the issue persists, submit a new ticket with steps to reproduce it. |
When exporting products in the feed that are set to excluding tax in the Magento admin panel, prices are exported without tax instead of with tax added.
Feed builder logic in app/code/Meta/Catalog/Model/Product/Tools is wrong:
If prices in Magento are set to "Catalog Prices" = "Excluding Tax" (Store > Configuration > Sales > Tax > Calculation Settings), the function call to
$this->systemConfig->isPriceInclTax()
will return false and the product price is exported as is.
Instead, it should return the price with taxed added.
The correct logic should be:
Found in functions getProductPrice() and getProductSalePrice().
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: