Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在主类别Magento上显示页面_Magento_Magento 1.7 - Fatal编程技术网

如何在主类别Magento上显示页面

如何在主类别Magento上显示页面,magento,magento-1.7,Magento,Magento 1.7,我有一个关于Magento的项目,我有一个奇怪的问题。我有一个主要类别,我们称之为main 1。这个主要类别有几个子类别。让我们称它们为Sub1、Sub2、 Main 1、Sub1、Sub2内有产品。我总共喜欢主1的50种产品 当我导航到一个子类别时,我的产品比我每页能看到的多,所以我有一个寻呼机 但是我不知道主1上发生了什么,我看不到那个寻呼机。我的产品比我在主1上看到的要多,但我不知道寻呼机出了什么问题 我想在这个主要类别上有一些我不知道的变化,但我不知道是哪一个 因此,任何关于如何恢复寻

我有一个关于Magento的项目,我有一个奇怪的问题。我有一个主要类别,我们称之为main 1。这个主要类别有几个子类别。让我们称它们为Sub1、Sub2、

Main 1、Sub1、Sub2内有产品。我总共喜欢主1的50种产品

当我导航到一个子类别时,我的产品比我每页能看到的多,所以我有一个寻呼机

但是我不知道主1上发生了什么,我看不到那个寻呼机。我的产品比我在主1上看到的要多,但我不知道寻呼机出了什么问题

我想在这个主要类别上有一些我不知道的变化,但我不知道是哪一个

因此,任何关于如何恢复寻呼机的想法都将不胜感激

谢谢

这是我的寻呼机.html

<?php if($this->getCollection()->getSize()): ?>

<?php if($this->getUseContainer()): ?>
<div class="pager">
<?php endif ?>

<?php if($this->getShowAmounts()): ?>
<p class="amount">
    <?php if($this->getLastPageNum()>1): ?>
        <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
    <?php else: ?>
        <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
    <?php endif; ?>
</p>
<?php endif ?>

<?php if($this->getShowPerPage()): ?>
<div class="limiter">
    <label><?php echo $this->__('Show') ?></label>
    <select onchange="setLocation(this.value)">
    <?php foreach ($this->getAvailableLimit() as  $_key=>$_limit): ?>
        <option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
            <?php echo $_limit ?>
        </option>
    <?php endforeach; ?>
    </select> <?php echo $this->__('per page') ?>
</div>
<?php endif ?>

<?php if($this->getLastPageNum()>1): ?>
<div class="pages">
    <strong><?php echo $this->__('Page:') ?></strong>
    <ol>
    <?php if (!$this->isFirstPage()): ?>
        <li>
            <a class="previous<?php if(!$this->getAnchorTextForPrevious()): ?> i-previous<?php endif;?>" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>">
                <?php if(!$this->getAnchorTextForPrevious()): ?>
                    <img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous') ?>" class="v-middle" />
                <?php else: ?>
                    <?php echo $this->getAnchorTextForPrevious() ?>
                <?php endif;?>
            </a>
        </li>
    <?php endif;?>

    <?php if ($this->canShowFirst()): ?>
        <li><a class="first" href="<?php echo $this->getFirstPageUrl() ?>">1</a></li>
    <?php endif;?>

    <?php if ($this->canShowPreviousJump()): ?>
        <li><a class="previous_jump" title="" href="<?php echo $this->getPreviousJumpUrl() ?>">...</a></li>
    <?php endif;?>

    <?php foreach ($this->getFramePages() as $_page): ?>
        <?php if ($this->isPageCurrent($_page)): ?>
            <li class="current"><?php echo $_page ?></li>
        <?php else: ?>
            <li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
        <?php endif;?>
    <?php endforeach;?>


    <?php if ($this->canShowNextJump()): ?>
        <li><a class="next_jump" title="" href="<?php echo $this->getNextJumpUrl() ?>">...</a></li>
    <?php endif;?>

    <?php if ($this->canShowLast()): ?>
      <li><a class="last" href="<?php echo $this->getLastPageUrl() ?>"><?php echo $this->getLastPageNum() ?></a></li>
    <?php endif;?>

    <?php if (!$this->isLastPage()): ?>
        <li>
            <a class="next<?php if(!$this->getAnchorTextForNext()): ?> i-next<?php endif; ?>" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>">
                <?php if(!$this->getAnchorTextForNext()): ?>
                    <img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next') ?>" class="v-middle" />
                <?php else: ?>
                    <?php echo $this->getAnchorTextForNext() ?>
                <?php endif;?>
            </a>
        </li>
    <?php endif;?>
    </ol>

</div>
<?php endif; ?>

<?php if($this->getUseContainer()): ?>
</div>
<?php endif ?>


解决了。主要类别呈现的布局不同