Magento的价格范围 [英] Price Ranges in Magento

查看:95
本文介绍了Magento的价格范围的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认情况下,Magento中的分层导航在price属性中向我显示

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

从0到1000
从1001年到2000年
等,等等.

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.

推荐答案

转到

系统>配置>目录>分层导航"部分>价格导航步骤计算"

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

将"价格导航步骤计算"设置为手动,然后更改显示的设置.

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

"默认价格导航步骤"是一个范围.例如.如果我们将其设置为500,则价格范围如下:

"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
  • 一五〇〇年至2000年等.
  • 0 - 500
  • 500 - 1000
  • 1000 - 1500
  • 1500 - 2000 etc..

在"最大价格区间数"中,如果我们输入3,则价格范围如下:

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

  • 0-500
  • 500-1000
  • 1000及以上
  • 0 - 500
  • 500 - 1000
  • 1000 and above

这篇关于Magento的价格范围的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆