Developer forum

Forum » Development » Product catalog show all products URL parameter?

Product catalog show all products URL parameter?

Dmitrij Jazel
Reply

Hello guys,

Was wondering when I have a link to a product catalog.

If I could add a parameter like www.sitename.dk/Produkter.aspx?showAllProducts=True

Or do somehting like this: www.sitename.dk/Produkter.aspx?productsPerPage=999999

 

Right now the product catalog has paging setup. And it shows 20 products / page.

Wanted to know if I could manipulate that in some way, and one way would be through Url.


Customers requested a "show all" button, wanted to know if there is any not-painfull way to do it.

By saying not-painfull I mean not including a subpage with /All and passing groupID to it (this is not an option!)

 

/Dmitrij


Replies

 
Mikkel Ricky
Reply
This post has been marked as an answer

You use the query parameters PageSize and PageNum for doing this, i.e.

www.sitename.dk/Produkter.aspx?PageSize=999999&PageNum=1

Best regards,
Mikkel

Votes for this answer: 1
 
Dmitrij Jazel
Reply

That is awesome! :-)

Exactly what I needed, thanks allot Mikkel! :-)

 

You must be logged in to post in the forum