I want to change the toolbar limiterchange the toolbar limiter and to insert "per page""per page" text inside <option>
tag.
<div class="limiter">
<label class="label" for="limiter">
<span><?= /* @escapeNotVerified */ __('Show') ?></span>
</label>
<div class="control">
<select id="limiter" data-role="limiter" class="limiter-options">
<?php foreach ($block->getAvailableLimit() as $_key => $_limit): ?>
<option value="<?= /* @escapeNotVerified */ $_key ?>"<?php if ($block->isLimitCurrent($_key)): ?>
selected="selected"<?php endif ?>>
<?= /* @escapeNotVerified */ $_limit ?>
</option>
<?php endforeach; ?>
</select>
</div>
<span class="limiter-text"><?= /* @escapeNotVerified */ __('per page') ?></span>
</div>
I add this pages on my custom theme but even if I change something the changes are not displayed.
app/design/frontend/MyTheme/default/Magento_Theme/templates/html/pager.phtml
app/design/frontend/MyTheme/default/Magento_Catalog/template/product/list/toolbar/limiter.phtml
I need to add changes in other file?