选定的货币 - 在Drupal的视图中显示过滤器 [英] selected currency - exposed filter in views in Drupal

查看:108
本文介绍了选定的货币 - 在Drupal的视图中显示过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在视图公开过滤器中,我无法使用与默认货币不同的货币过滤结果。



我将美元作为默认货币,将英镑作为次要货币。

我在视图中添加了此过滤器:

过滤条件 - >添加新的 - >商品:价格:金额(暴露)

然后货币选择列表中的GBP,但过滤器适用于美元金额而非英镑。



重点是,当用户选择不同于默认的货币时,他应该能够按此货币过滤结果。实际上,我只能按价格对产品进行分类,但不能按价格范围进行过滤。知道怎么解决这个问题吗?

In views exposed filter, i am not able to filter results by different currency than default.

I have USD as default currency, and GBP as secondary currency.
I added this filter in views:
filter criteria -> add new -> Commerce Product: Price:amount(exposed)
then "GBP" in currency select list, but filter works for amount in USD instead GBP.

The point is, when user choose different currency than default, he should be able filter results by this currency. Actualy, i can only sort products by price, but can't filter by price range. Any idea how i can solve this?

推荐答案

这篇关于选定的货币 - 在Drupal的视图中显示过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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