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

Disallow creation of Spree::Price records with empty values #12126

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

damianlegawiec
Copy link
Member

To preserve current behaviour in your config/initializers/spree.rb file add

Spree::RuntimeConfig[: allow_empty_price_amount] = true

To preserve current behaviour in your `config/initializers/spree.rb` file add

```ruby
Spree::RuntimeConfig[: allow_empty_price_amount] = true
```
@damianlegawiec damianlegawiec merged commit 9385db7 into main Aug 20, 2024
10 of 12 checks passed
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.

1 participant