masterblaster Posted September 20, 2017 Share Posted September 20, 2017 I need to create a group restricted CartRule in a PHP script I am building that it is interacting with PS 1.6 database , but I can't find a way to assign the rule to some restricted customer groups. I see that the CartRule object have a boolean $group_restriction variable but I can't really figure out how to fill up the "ps_cart_rule_group" with groups of my interest by using Prestashop code to the CartRule I just created. Any advice ? Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now