【问题标题】:Magento : Sort bundled products by priceMagento:按价格对捆绑产品进行排序
【发布时间】:2013-09-27 14:11:18
【问题描述】:

当我在 Magento 中有一个包含捆绑产品的类别并按价格对它们进行排序时,排序顺序不正确。

似乎是按照捆绑包中最便宜的产品排序,而不是按照累计价格排序。

有没有人知道如何解决这个问题的线索/想法/解决方案?

【问题讨论】:

    标签: magento sorting product


    【解决方案1】:

    目录由多个产品组成,包括捆绑产品。 确保捆绑价格正确显示 app/code/core/Mage/Bundle/Block/Catalog/Product/Price.php 被注入到 magento 1.7.0 中,因此请确保此页面存在于您的 mage 文件夹中。

    同时在此部分进行更改 app/design/frontend/base/default/layout/bundle.xml 正如这个线程中提到的 https://github.com/varinen/solvingmagento_1.7.0/blob/master/app/design/frontend/base/default/layout/bundle.xml#L35 从第 35-117 行开始。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-02-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多