Closed aakankshagrover-VT closed 1 year ago
Hi @aakankshagrover0206 , Can you please provide the HTML code which you provided on the cms page which will be useful for us to reproduce the issue?
Hi @glo80771 , This is the code stored in the homepage in magento admin panel. I am trying to display this widget code accessing from magento backend and displaying it on studio storefront. This section is under: Content > Pages > HomePage
CMS homepage content goes here123.
{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" title="test" show_pager="1" products_per_page="5" products_count="10" template="Magento_CatalogWidget::product/widget/content/grid.phtml" conditions_encoded="^[1
:^[type
:Magento||CatalogWidget||Model||Rule||Condition||Combine
,aggregator
:all
,value
:1
,new_child
:``^]^]" page_var_name="peylvx"}}
Hi @aakankshagrover0206 , Can you please give the expected behavior of this code which has to be displayed in the studio storefront?
Hi @glo80771 The expected code should be like this:
Hi @aakankshagrover0206 , Thanks for the details.
Able to reproduce and hence confirming this issue.
@adobe export issue to JIRA project PWA as Bug
@adobe export issue to JIRA project PWA as Bug
@adobe export issue to JIRA project PWA as Bug
@adobe export issue to JIRA project PWA as Bug
:x: You don't have permission to export this issue.
@adobe export issue to JIRA project PWA as Bug
@adobe export issue to JIRA project PWA as Bug
:x: Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/PWA-3169
@aakankshagrover0206 , I am able to see widget ( as expected ) on storefront, Please let us know if we missed something .
Followed below steps -
CMS homepage content goes here123.
{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" title="test" show_pager="1" products_per_page="5" products_count="10" template="Magento_CatalogWidget::product/widget/content/grid.phtml" conditions_encoded="^[1
:^[type
:Magento||CatalogWidget||Model||Rule||Condition||Combine
,aggregator
:all
,value
:1
,new_child
:``^]^]" page_var_name="peylvx"}}
Result: On the storefront Code pasted inside Text element ( left column in screenshot ) is displaying widget ( as expected ). Code that pasted inside HTML code element** ( right column in screenshot ) is displaying plain code .
Below is the screenshot,
clsoing the ticket since no updates from reporter since last 2 weeks, reporter can reopen issue in case still reproducible or any furthure updates.
Hi @aakankshagrover0206. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information. Add a comment to assign the issue:
@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.