仅针对英国用户显示包含增值税的价格
我怎样才能让我的 magento 商店在网格中显示价格并仅针对英国游客显示增值税的列表视图。即,如果访问者不是来自英国(可能基于浏览器检测到的信息,除非他们是登录用户?),产品列表页面上显示的价格应不含增值税。
如果货币从英镑更改,则无论在哪个国家/地区,显示的价格中也不应包含增值税。
Magento API 中是否还有另一个调用可以用于此目的? 我在 template\catalog\product\list.phtml 中看到“getPriceHtml”,我想这是我可能需要进行一些编码的地方? 只是不确定什么,所以任何帮助都会很棒! 干杯。
How can I have my magento store display prices in the grid and list views with VAT only for UK visitors. i.e. if the visitor is not from the UK (probably based on browser detected information unless they are logged in users?), prices on the product listing page should be displayed exclusive of VAT.
If the currency is changed from GBP, vat should also not be included in the displayed price, regardless of country.
Is there another call in the Magento API to be used for this?
I see "getPriceHtml" in template\catalog\product\list.phtml and I guess this is where I might need to do some coding around?
Just not sure what, so any help would be great!
Cheers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你开的那家店很有趣。你们只向英国和欧盟以外的国家销售?您是否知道,在欧盟,当您专门向公司销售产品时,只能报价不含增值税的价格?
That's an interesting shop you have. You only sell to the UK and countries outside the EU? You are aware that in the EU you are only allowed to quote prices excluding VAT when you sell to companies exclusively?