Manru Posted October 21, 2013 Share Posted October 21, 2013 Hi everyone! The eShop that I am managing has different customer groups and I was wondering if there is any kind soul that could point me to the correct tool, configuration, paid or free module to allow accumulation of points for a certain customer group only. For Example: John is a member while Peter is a Privilege Member. When John purchase an item, he will not be able to accumulate points. However if Peter purchase an item, he will be able to accumulate points. My Prestashop Version: 1.5.4.1. Many thanks in advance!! Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2013 Share Posted October 21, 2013 you use some external addon to "accumulate points" ? shed some light on this please Link to comment Share on other sites More sharing options...
Manru Posted October 21, 2013 Author Share Posted October 21, 2013 Erm.. I am currently using the basic loyalty module that comes with prestashop but that module could not do the above so I am actually asking if there are existing modules or configuration that allows only certain group, say Privilege Members, to accumulate points. Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2013 Share Posted October 21, 2013 unfortunately i don't know any other module, but i think that it will be easy to achieve. just one if condition added to "points" function if condition with customer group: if ($customer_default_group==5){ add points } where 5 is an id of customer group Link to comment Share on other sites More sharing options...
Manru Posted October 21, 2013 Author Share Posted October 21, 2013 oooo.. Thanks a lot!! Let me go try and get back if there is any issues Link to comment Share on other sites More sharing options...
Manru Posted October 29, 2013 Author Share Posted October 29, 2013 Hi Vekia!! Another question. So if let's say I want to edit the basic loyalty module that Prestashop have. And I want to only give the loyalty point to Privilege Members, as you said, add a if statement to check the group ID. Do you have any idea how where should I start editing? So sorry~ I am still in the midst of learning about Prestashop. Thank you !! Link to comment Share on other sites More sharing options...
KevinNash Posted April 8, 2016 Share Posted April 8, 2016 Me too, where to add that code please ? In my case I need to exclude a group ( the companys with discount ). Link to comment Share on other sites More sharing options...
Recommended Posts