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

Use Spree::Variant#should_track_inventory? to disable 'Count on hand' input #2977

Merged

Conversation

aitbw
Copy link
Contributor

@aitbw aitbw commented Nov 27, 2018

Refs: #2960

This patch improves said PR by fixing a bug that enabled the Count on hand input without taking into consideration the Spree::Config.track_inventory_levels setting.

Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks!

Copy link
Contributor

@jacobherrington jacobherrington left a comment

Choose a reason for hiding this comment

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

Good catch @aitbw! Thanks for the PR.

@kennyadsl kennyadsl merged commit ceae80f into solidusio:master Nov 28, 2018
@aitbw aitbw deleted the nebulab/improve-track-inventory-ux branch November 28, 2018 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants