Skip to content
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

#2956 Quote error msg support when adding whole list #24

Merged
merged 3 commits into from
Jul 27, 2021
Merged

#2956 Quote error msg support when adding whole list #24

merged 3 commits into from
Jul 27, 2021

Conversation

riha112
Copy link
Contributor

@riha112 riha112 commented Jul 26, 2021

Original issue:

In this PR:

  • Expanded scope of error message fetching to include quote error msg like Max/Min qty.

Comment on lines 121 to 123
$msg = $quoteItem[strlen($quoteItem) - 1] === '.'
? substr($quoteItem, 0, -1)
: $quoteItem;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use the trim() function here with the second argument.

Copy link
Contributor

@zans-laksa zans-laksa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review passed.

@carinadues carinadues merged commit 84fee47 into scandipwa:master Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants