每个客户多个客户组 [英] Multiple customer groups per customer
本文介绍了每个客户多个客户组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以在Magento中将客户分为多个客户组?
Is it possible to put customers in multiple customer groups in Magento?
例如批发"和销售"组中的"Dupant"客户零售商."
e.g. Customer "Dupant," in groups "Wholesale" & "Retailer."
推荐答案
There is similar question on SO here: assign customer to multiple customer groups to magento.
但是,我不确定所提供的答案是否通用,因为以下代码段
$ customer-> getGroupId()
在Magento核心中使用了很多,还假定此方法返回的组ID是整数,而不是是字符串(以逗号分隔的ID列表).
However, I'm not sure if the answer provided is universal because the following snippet $customer->getGroupId()
is used quite a lot in Magento core, where it is also supposed that group ID returned from this method is integer and not a string (comma separated list of IDs).
这篇关于每个客户多个客户组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文