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

[pull] main from solidusio:main #407

Merged
merged 7 commits into from
May 8, 2024
Merged

[pull] main from solidusio:main #407

merged 7 commits into from
May 8, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented May 6, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

mamhoff and others added 6 commits April 18, 2024 16:40
This allows us to keep the backend controllers out of the autoloaded
`app` directory, which in turn allows us to ditch the direct dependency
on solidus_backend. We do, however, load it still, just ignore it if
it's not available.
Initializing the app with the code prior to this commit would
instantiate the promotions configuration, which is not good because
instantiating it via `Spree::Config.promotions` leads to the object
being instacached and very, very hard to change.

Also, we currently have to spots in the app where we can configure the
promotion api attributes, and this reduces it to just one by deprecating
the preference :promotion_attributes on `Spree::ApiConfiguration`.
display_number is used by many partials and templates
displaying the payment source identifier to users
or admins.

StoreCredit was missing this metho, leading to errors
if a store credit is used as payment source.
…ject-on-startup

Do not initialize promotions object on startup
Move promotion backend controllers to `lib/
fix(StoreCredit): Add display_number method
@pull pull bot merged commit 88f7711 into nebulab:main May 8, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants