在我的Magento的網站是不是在底部displying頁碼上....在這個網站,我有大約6-7類別和每個類別大約有50種產品Magento的分頁不顯示目錄頁
變化我已經到了Magento管理面板製造是:
並下設管理 - >常規 - >設計 - >分頁
I'hv只發產品頁面上的這些 儘管如此頁面數量的變化沒有出現在這裏
任何想法,爲什麼它的發生?
編輯:
這是我frontend\mgstheme\luxury\template\catalog/category/view.phtml
頁
<?php
$_helper = $this->helper('catalog/output');
$_category = $this->getCurrentCategory();
$_imgHtml = '';
if ($_imgUrl = $_category->getImageUrl()) {
$_imgHtml = '<p class="category-image"><img class="img-responsive" src="' . $_imgUrl . '" alt="' . $this->escapeHtml($_category->getName()) . '" title="' . $this->escapeHtml($_category->getName()) . '" /></p>';
$_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
}
$settingDescPosition = 1;
$setting = Mage::getModel('mpanel/setting')->load($_category->getId());
if($setting){
if($setting->getRatio()!=''){
$settingDescPosition = $setting->getDescPosition();
}
}
?>
<div class="page-title category-title">
<?php if ($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
<a href="<?php echo $this->getRssLink() ?>" class="link-rss"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
<?php endif; ?>
</div>
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
<?php $helper = $this->helper('mpanel'); ?>
<div class="custom">
<div class="container">
<span><a href="127.0.0.1/demo"><i class="fa fa-home"></i></a>/<span><a href="#">Products</a></span>/<span><strong><?php echo $this->getCurrentCategory()->getName(); ?></strong></span></span>
</div>
</div>
<?php if ($this->isContentMode()): ?>
<?php echo $this->getCmsBlockHtml() ?>
<?php elseif ($this->isMixedMode()): ?>
<?php echo $this->getCmsBlockHtml() ?>
<div id="product-list-container">
<?php echo $this->getProductListHtml() ?>
</div>
<?php else: ?>
<div id="product-list-container">
<?php echo $this->getProductListHtml() ?>
</div>
<?php endif; ?>
<?php if ($helper->acceptToUsePanel()): ?>
<?php // description position below product list ?>
<?php if($settingDescPosition==2): ?>
<div class="builder-container inline-builder">
<?php if ($_description = $this->getCurrentCategory()->getDescription()): ?>
<div class="category-description std">
<?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?>
</div>
<?php echo $helper->getEditCategoryDescription($_category->getId()) ?>
<?php else: ?>
<div class="category-description std">
<span class="placeholder">Add description for this category</span>
</div>
<?php echo $helper->getEditCategoryDescription($_category->getId()) ?>
<?php endif; ?>
</div>
<?php endif ?>
<?php else: ?>
<?php // description position below product list ?>
<?php if($settingDescPosition==2): ?>
<?php if ($_description = $this->getCurrentCategory()->getDescription()): ?>
<div class="category-description std">
<?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?>
</div>
<?php endif; ?>
<?php endif ?>
<?php endif; ?>
我'hv沒有在我的代碼中找到任何代碼分頁...你可以檢查一次...我'hv更新我的代碼 – parish
僅供參考,它不是你在喲提到的正確文件你的帖子: 前端\ mgstheme \豪華\模板\目錄/類別/ view.phtml 請檢查以下位置和文件: - 佈局: app/design/frontend/default/<您的主題/佈局/目錄。 xml Template: app/design/frontend/default/ /template/catalog/product/list/toolbar.phtml Block File: app \ code \ core \ Mage \ Catalog \ Block \ Product \ List \ Toolbar.php –
分頁使用參考「catalog_category_default」」catalog/product/list/toolbar.phtml「 < HTM l_pager「name =」product_list_toolbar_pager「/> –