-
Notifications
You must be signed in to change notification settings - Fork 258
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
Issue #2846890: Create a log entry when item is removed from cart or qty is changed programatically #625
base: 8.x-2.x
Are you sure you want to change the base?
Issue #2846890: Create a log entry when item is removed from cart or qty is changed programatically #625
Conversation
…qty is changed programatically
cart_item_quantity_changed: | ||
category: commerce_cart | ||
label: 'Quantity changed from cart' | ||
template: '<p>Quantity for <em>{{ purchased_entity_label }}</em> changed in the cart form <em>{{ original_quantity }} to {{ quantity }}</em>.</p>' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "Quantity for" to "Quantity of".
No emphasis around the quantities.
And "form" should be "from".
This looks good, @GoZOo - think you could create a test for this in https://github.com/drupalcommerce/commerce/blob/8.x-2.x/modules/log/tests/src/Kernel/CartIntegrationTest.php ? Then I'd say this is good to go. |
You are right, I completely miss the tests |
Note that we'll have to update this PR or #628 depending of witch one is commited first. |
Needs work. See last fail. |
6be1d5c
to
b8a7444
Compare
See issue https://www.drupal.org/node/2846890