You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
The add-to-cart isn't working anymore, this can be tested in the demo shop https://shopware-pwa.storefrontcloud.io.
When adding a product to the cart, a notification was and should be shown.
I think the cause is, that the i18n-plugin is not injected properly and thus undefined when using it in logic/notifications/index.js (
I think it has worked until some time ago only by chance, maybe the loading order has changed or something like that.
I think the i18n plugin has to be injected properly to be also available in other plugins :)
The text was updated successfully, but these errors were encountered:
Describe the bug
The add-to-cart isn't working anymore, this can be tested in the demo shop https://shopware-pwa.storefrontcloud.io.
When adding a product to the cart, a notification was and should be shown.
I think the cause is, that the i18n-plugin is not injected properly and thus
undefined
when using it inlogic/notifications/index.js
(shopware-pwa/packages/default-theme/src/logic/notifications/index.js
Line 6 in 5f2d6a9
All other plugins use the
inject
function which would makei18n
available in other plugins, too.This issue is described here https://medium.com/@valerka/how-to-register-the-plugin-correctly-in-nuxt-js-91ed2d95b81f.
I think it has worked until some time ago only by chance, maybe the loading order has changed or something like that.
I think the
i18n
plugin has to be injected properly to be also available in other plugins :)The text was updated successfully, but these errors were encountered: