-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
"Total Amount" cart rule without tax #12396
Comments
@Chei20, thank you for your report. |
- Added new condition type to give user opportunity to choose the configuration.
Hi @AleksLi. Thank you for working on this issue.
|
Hi @Chei20. Thank you for your report.
The fix will be available with the upcoming 2.3.2 release. |
…on type to give user opportunity to choose the configuration.
Hi @Chei20. Thank you for your report.
The fix will be available with the upcoming 2.2.9 release. |
Hey same issue i am getting in magento2.2.6 . how to fix it? |
@magento-engcom-team
That "total amount" is still without tax, this PR adds 'subtotal excl tax' to condition cart attributes, but doesn't fix the issue in this task |
This is still an issue in 2.3.5 My migrated Magento 1 coupon is set for E 70, incl. taxes for free shipping. However, it does not trigger until the ex. taxes are over E 70. I can fix partly fix this by specifiying a lower amount. But my customers can mix products with different tax rates. Eg. 9% for food, and 21% for the remainder. I need the free shipping to trigger on the total amount including taxes. |
Dear,
please check this
Final Solution -
changed "base_row_total" to "row_total_incl_tax" in
/var/www/html/partsvillage/vendor/magento/module-sales-rule/Model/Rule/Condition/Product/Subselect.php
public function loadAttributeOptions()
{
$this->setAttributeOption(['qty' => __('total quantity'),
'row_total_incl_tax' => __('total amount')]);
return $this;
}
Got below solution on issue -
https://magento.stackexchange.com/questions/193717/cart-rule-condition-based-on-price-including-tax
Changed on core file
You have to override it by creating a custom module.
…On Sat, Jun 6, 2020 at 9:19 PM Martijn Dijksterhuis < ***@***.***> wrote:
This is still an issue in 2.3.5
My migrated Magento 1 coupon is set for E 70, incl. taxes for free
shipping.
However, it does not trigger until the ex. taxes are over E 70.
I can fix partly fix this by specifiying a lower amount. But my customers
can mix products with different tax rates. Eg. 9% for food, and 21% for the
remainder. I need the free shipping to trigger on the total amount
including taxes.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12396 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANUUUS6F6AYOMPACH7OLYI3RVJQPZANCNFSM4EE45UVA>
.
|
It seems that if I want to create a cart Price rule that takes account the subtotal of a subselection of products, that subtotal is calculated without taxes, also if in tax configuration everything is configurated as “including tax”.
I want to create a fixed amount discount for whole cart (10€) to all users that have in their cart 60€ of products from one category (123456)
Preconditions
Steps to reproduce
Go to Marketing -> Cart Price Rules
Create a Specific coupon like
(conditions) If “total amount” equals or greater than 59.99 for a subselection of items in cart matching ALL of this conditions
Category is 123456 (category_id)
(actions) Fixed amount discount for whole cart
Discount Amount 10
On FrontEnd go to that category 123456, and add products where the subtotal is above 60€ but the subtotal (without tax) is bellow 60€
Summary
Subtotal (without tax): €57,55
Subtotal (with tax): €70,21
Tax (22%): €12,66
Total : €70,21
In that case the coupon can not be used because the subtotal (without tax) < €59.99
My tax configuration is like
Expected result
Actual result
The text was updated successfully, but these errors were encountered: