Developer forum

Forum » Ecommerce - Standard features » Different pagetemplate for productlistmode and productdetailmode

Different pagetemplate for productlistmode and productdetailmode

Hans Ravnsfjall
Hans Ravnsfjall
Reply

Hi

we have a scenarie, where we want the URL structure to be like this for productlists

www.website.com/productgroup/

And like this for the productdetail pages

www.website.com/productgroup/productname

As far as i know, the only way to achieve this is to render them on the same page, where we put a catalogue module on a paragraph. Now another issue is, that the design is somewhat different on the productlist-view comparet to the productdetails-view. Eg. there is no productmenu on the details-view. But I don´t think it is possible to have different pagetemplates depending on the cataloge module mode (list or details). Or at least without having a messy url, is it?

 

Anyone got any other suggestions on how to obtain the desired URL structure, while handling the design and content differences on a productlist page versus a productdetails page?

 

/Hans

 


Replies

 
Nicolai Pedersen
Reply

Hi Hans

You can do that if you use the new url providers that are setup on a pages properties instead of those in settings. That is actually how Swift does this.

 

You must be logged in to post in the forum