Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Issue #2846890: Create a log entry when item is removed from cart or qty is changed programatically#625

Open
GoZOo wants to merge 3 commits intodrupalcommerce:8.x-2.x from
GoZOo:2846890-log-cart-quantity-update
Open

Issue #2846890: Create a log entry when item is removed from cart or qty is changed programatically #625
GoZOo wants to merge 3 commits intodrupalcommerce:8.x-2.x from
GoZOo:2846890-log-cart-quantity-update

Conversation

@GoZOo
Copy link
Contributor

@GoZOo GoZOo commented Feb 1, 2017

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>'
Copy link
Contributor

@steveoliver steveoliver Feb 1, 2017

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".

Copy link
Contributor

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.

Copy link
Contributor Author

GoZOo commented Feb 1, 2017

You are right, I completely miss the tests

Copy link
Contributor Author

GoZOo commented Feb 3, 2017
edited
Loading

Note that we'll have to update this PR or #628 depending of witch one is commited first.

Copy link
Contributor

Needs work. See last fail.

@bojanz bojanz force-pushed the 8.x-2.x branch 7 times, most recently from 6be1d5c to b8a7444 Compare April 27, 2017 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@steveoliver steveoliver steveoliver left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Comments

AltStyle によって変換されたページ (->オリジナル) /