Developer forum

Forum » Ecommerce - Standard features » RE: Gridview and Expanded view template?

RE: Gridview and Expanded view template?

Mikkel Toustrup Olsen
Reply

Hello,

I have a test ecommerce solution, in which I have 3 buttons. All buttons represent a view of the product-list (listview, expanded and gridview).

I am too modify the apperance on the gridview and expanded view, however I can't seem to find their respective templates in the backend?.

I can modify the products.html though that only make changes to the initial view of the products (when changing to e.g. grid or expanded view, these changes don't apply)..

Any thoughts on the matter. I might be missing something - im kinda new to the eCommerce module and I can't seem to find anything in the documentation about this matter.

Thanks,

MikkelTO


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Mikkel,

Take a look at the templates that end in _List.html and _Tiles.html. These templates are used instead of the originally selected template when you pass a View parameter matching the last part (e.g. View=List and View=Tiles) in the query string.

Hope this helps,

Imar

 
Mikkel Toustrup Olsen
Reply

Hey Imar,

I am trying to implement the same functionality on a custom design. I implemented the _List & _Tiles template, and get the ecom to work by typing the Querystring into the URL manually. However, I cannot seem to bind my two buttons to parse the parameters (like the solutionset are doing) - do you know if these are bound by js or something like that?

 

/Mikkel

 
Mikkel Toustrup Olsen
Reply

Hey Imar,

I am trying to implement the same functionality on a custom design. I implemented the _List & _Tiles template, and get the ecom to work by typing the Querystring into the URL manually. However, I cannot seem to bind my two buttons to parse the parameters (like the solutionset are doing) - do you know if these are bound by js or something like that?

 

/Mikkel

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Mikkel,

Yes, I believe there's code in the JavaScript files for the industry solution set that handles this. I am not sure where but searching the code for Tiles should probably bring up some stuff.

Cheers,

Imar

 

You must be logged in to post in the forum