cancel
Showing results for 
Search instead for 
Did you mean: 

Catalog Widget not rendered

Catalog Widget not rendered

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

 

Skärmavbild 2021-10-22 kl. 08.37.31.png

It seems to work when I look at it in the page builder

 

https://imgshare.io/image/p18Jy6

Skärmavbild 2021-10-22 kl. 08.39.35.png

 

Thanks in advance for your answers

 

*edit - updated with image links

9 REPLIES 9

Re: Catalog Widget not rendered

Hello @ande85 

Please send the image links as I can't see the images.

Re: Catalog Widget not rendered

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:Smiley Tongueroduct/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"}}

Re: Catalog Widget not rendered

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

Re: Catalog Widget not rendered

@dipmegpro I´ve done a full reindex and cleared cache but the result is still the same. Any idea?

Re: Catalog Widget not rendered

Hello @ande85 

 

Have you link this with Home page?

Re: Catalog Widget not rendered

@dipmegpro have sent you the link through private message

Re: Catalog Widget not rendered

anyone else have any idea?

Re: Catalog Widget not rendered

Hello 
Have you solved it?

Re: Catalog Widget not rendered

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