Hi,
I want to use this function Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl for getting friendly url for the product.
I have group id and product id, the problem is solution have multiple ecom modules for displaying groups assigned to different pages.
How to get page id , of the page that has paragraph ecom module assigned to it with settings of displaying that particular group.
I cant just take first ecom module and show it on there because the url will be different from normal click on page path url, so i need that particular one :)
Pseudocode
Get paragraphs with ecom module, filter them by what group ids they are showing, get page id of that page.
Or maybe there is better way to achieve same functionality.
Thank you.