Price Ranges in Magento

和自甴很熟 提交于 2019-12-04 19:37:27

问题


By default the layered navigation in Magento shows me in the price attribute

From 0 to 1000
From 1001 to 2000
etc, etc.

Is it possible to change this either by configuration or by code? If it has to be by code can you please provide code example and which file(s) do I need to modify.


回答1:


Go to

System > Configuration > Catalog > "Layered navigation" section > "Price Navigation Step Calculation"

set "Price Navigation Step Calculation" to Manual and change the settings that appear.

"Default Price Navigation Step" is a range. E.g. if we set it 500 then the price ranges will be like:

  • 0 - 500
  • 500 - 1000
  • 1000 - 1500
  • 1500 - 2000 etc..

In "Maximum Number of Price Intervals" if we put 3 then the price ranges will be like:

  • 0 - 500
  • 500 - 1000
  • 1000 and above


来源:https://stackoverflow.com/questions/7713009/price-ranges-in-magento

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!