{assign var=category_current_page value={$smarty.get.category_page|default:1}}

Pagination

Categories

{loop name="cat" type="category" page="{$category_current_page}" limit="2"}

#LOOP_COUNT - #TITLE

Products :

{assign var=this_product_getter value="product_`$ID`_page"} {assign var=product_current_page value={$smarty.get.$this_product_getter|default:1}}

#TITLE page choice

{pageloop rel="prod"} {if ${PAGE} != {$product_current_page}} #PAGE {else} { #PAGE } {/if} {if {$PAGE} != {$LAST}} - {/if} {/pageloop} {/loop}

categories page choice

{pageloop rel="cat"} {if ${PAGE} != {$category_current_page}} #PAGE {else} { #PAGE } {/if} {if {$PAGE} != {$LAST}} - {/if} {/pageloop}