Skip to content

Commit 60a0dd4

Browse files
Update view.phtml
updating pagination template calling way
1 parent 4ddc22b commit 60a0dd4

File tree

1 file changed

+2
-6
lines changed
  • app/code/Magento/Wishlist/view/frontend/templates

1 file changed

+2
-6
lines changed

app/code/Magento/Wishlist/view/frontend/templates/view.phtml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
?>
1111

1212
<?php if ($this->helper('Magento\Wishlist\Helper\Data')->isAllow()) : ?>
13-
<?php if ($block->getPagerHtml()): ?>
14-
<div class="toolbar"><?php echo $block->getPagerHtml(); ?></div>
15-
<?php endif ?>
13+
<div class="toolbar"><?php echo $block->getChildHtml('wishlist_item_pager'); ?></div>
1614
<?= ($block->getChildHtml('wishlist.rss.link')) ?>
1715
<form class="form-wishlist-items" id="wishlist-view-form"
1816
data-mage-init='{"wishlist":{
@@ -55,7 +53,5 @@
5553
<% } %>
5654
</form>
5755
</script>
58-
<?php if ($block->getPagerHtml()): ?>
59-
<div class="toolbar"><br><?php echo $block->getPagerHtml(); ?></div>
60-
<?php endif ?>
56+
<div class="toolbar"><br><?php echo $block->getChildHtml('wishlist_item_pager'); ?></div>
6157
<?php endif ?>

0 commit comments

Comments
 (0)