Developer forum

Forum » Ecommerce - Standard features » Product Catalog Feed - Empty CurrentParagraph

Product Catalog Feed - Empty CurrentParagraph

Snaevar Petursson
Snaevar Petursson
Reply

Hej!

The pageview.CurrentParagraph appears to be null when called within a TemplateExtender on a ProductCatalog page which has a List Feed template selected.

Is this by design or a bug?

Best regards,
Snævar


Replies

 
Nicolai Pedersen
Reply

This is by design. There is a lot of things that are not executed in this context, including the paragraph.

But the feed is rendered by the catalog app. And that has a base classe called "ContentModule" which have an instance of the paragraph rendering the feed. So you should be able to get hold of this using this.Paragraph inside your feed.

BR Nicolai

 

You must be logged in to post in the forum