Price Ranges in Magento

2019-03-26 01:17发布

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条回答
不美不萌又怎样
2楼-- · 2019-03-26 01:22

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
查看更多
登录 后发表回答