Skip to content

Avoid to have comment on alert messages#79

Merged
shyim merged 1 commit intoFriendsOfShopware:mainfrom
lruozzi9:patch-2
Mar 23, 2026
Merged

Avoid to have comment on alert messages#79
shyim merged 1 commit intoFriendsOfShopware:mainfrom
lruozzi9:patch-2

Conversation

@lruozzi9
Copy link
Copy Markdown
Contributor

Before this PR:

[
    {
        "type": "danger",
        "alert": "\u003C!-- INCLUDE BEGIN @Storefront\/storefront\/utilities\/alert.html.twig (vendor\/shopware\/storefront\/Resources\/views\/storefront\/utilities\/alert.html.twig) --\u003E\n    \n\u003C!-- BLOCK BEGIN utilities_alert etc...
    }
]

After these changes we have only the HTML on the text:

[
    {
        "type": "danger",
        "alert": "\n    \n    \u003Cdiv class=\u0022relative p-4 pr-8 bg-error text-white xt-links-inverse text-[13px] leading-tight text-left hidden\u0022 role=\u0022alert\u0022 data-js-alert\u003E\n        \u003Cdiv class=\u0022flex flex-nowrap\u0022\u003E\n    etc...
    }
]

@shyim shyim merged commit 9c51511 into FriendsOfShopware:main Mar 23, 2026
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.

2 participants