How to make the show button still, so that when you click on it, the standard pagination page also changes?

{'!pdoPage' | snippet : [ 'element' => 'msProducts', 'tpl' => '@FILE chunks/product.tpl', 'parents' => $_modx->resource.id, 'limit' => $limit, 'depth' => 4, 'includeTVs' => 'views', 'includeContent' => 1, 'processTVs' => 1, 'tvPrefix' => '', 'sortby' => $sortby, 'sortdir' => $direction, ]} <div class="pagination-box"> <p class="info">Показаны товары с 1 по 12 из {$_modx->getPlaceholder('page.total')} (всего страниц: {$_modx->getPlaceholder('pageCount')})</p> <div class="pagination"> {$_modx->getPlaceholder('page.nav')} </div> </div> 

0