/
Creating an Items-per-Page Select Box - Developer Example
Creating an Items-per-Page Select Box - Developer Example
TODO-UC: Explain
#if ($parameters["changeItemsPerPage"]) ## Test being able to remove the parseInt call after the next build. $group.setCurrentItemsPerPage($formatHelper.parseInt($parameters["changeItemsPerPage"])) #end #if($group.getItemCount() > 10) <div class="columns small-8 medium-3"> <div class="label-group small"> <label for="itemsPerPage">Show:</label> <select id="itemsPerPage"> #foreach($availableItemsPerPage in $group.getAvailableItemsPerPage()) <option #if($group.getCurrentItemsPerPage() == $availableItemsPerPage) selected #end>$availableItemsPerPage</option> #end </select> </div> </div> #end
, multiple selections available,
Related content
Creating a Page Sort-By Select Box - Developer Example
Creating a Page Sort-By Select Box - Developer Example
More like this
Pagination - Developer Example
Pagination - Developer Example
More like this
Modifying Item Options in a StoreFront
Modifying Item Options in a StoreFront
More like this
Displaying Subpages - Developer Example
Displaying Subpages - Developer Example
More like this
Coding Example - Item with multiple option types
Coding Example - Item with multiple option types
More like this
Displaying a list of products on a page - Developer Example
Displaying a list of products on a page - Developer Example
More like this