Plugin with HTML code visible only on Catalogs pages

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hi all,
I am developing a plugin that show HTML code (with dynamic data calling web service) into footer of pages.
I want to show this HTML code only in the catalog pages: any suggestion? How I can filter in the plugin the type of page?

Thanks in advance
7 years ago
Very easy. Into widget controller, PublicInfo action checks the controller as follow "if (controller.ToString().Equals("Catalog", StringComparison.InvariantCultureIgnoreCase) )"

It solves perfect my request.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.