Hi,
I want to show a list of products on my start page. I am using Magento 2.4.3. But the list is never rendered on the frontend. It looks like this, any idea why?
https://imgshare.io/image/p18cue
It seems to work when I look at it in the page builder
https://imgshare.io/image/p18Jy6
Thanks in advance for your answers
*edit - updated with image links
Hello @ande85
Please send the image links as I can't see the images.
Not sure the images works. In case they don´t it looks like this on the frontend:
{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" template="Magento_CatalogWidget:roduct/widget/content/grid.phtml" anchor_text="" id_path="" show_pager="0" products_count="5" condition_option="category_ids" condition_option_value="7" type_name="Catalog Products List" conditions_encoded="^[`1`:^[`aggregator`:`all`,`new_child`:``,`type`:`Magento||CatalogWidget||Model||Rule||Condition||Combine`,`value`:`1`^],`1--1`:^[`operator`:`==`,`type`:`Magento||CatalogWidget||Model||Rule||Condition||Product`,`attribute`:`category_ids`,`value`:`7`^]^]" sort_order="position"}}
Hello @ande85
Can you please re-index the data and cache clean of the Magento? as this code is correct.
If you get the solution then please, "Kudos" and "Accept as Solution" for Token of Appreciation
@dipmegpro I´ve done a full reindex and cleared cache but the result is still the same. Any idea?
@dipmegpro have sent you the link through private message
anyone else have any idea?
Hello
Have you solved it?
Managed to fix the same issue by replacing the file
Magento_CatalogWidget/templates/product/widget/content/grid.phtml
in my theme with the one in the original module
might help anyone else trying