sbscan Posted June 19, 2014 Share Posted June 19, 2014 Hi, I added new order state from backoffice but I want to define it as PS_SO_xxx so that I can tell any payment module to use this order state as default. Where can I define it? Link to comment Share on other sites More sharing options...
bellini13 Posted June 20, 2014 Share Posted June 20, 2014 You define this in the ps_configuration database tables. Then you reference it in your code using the Configuration class So if you name it PS_OS_NEWORDERSTATE, then you find its value using Configuration::get('PS_OS_NEWORDERSTATE') Also, you cannot configure a payment module to use it. You need to edit each payment module directly and replace its usage of 'PS_OS_PAYMENT' with 'PS_OS_NEWORDERSTATE' 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