0xhiryuu Posted April 16, 2010 Share Posted April 16, 2010 Currently I'm building new module for generating invoices. I have problem with Configuration class. I don't know why but it always returns me false;I uderstand that usage looks like this: echo Configuration::get('PS_SHOP_NAME); This line should return me the name of the store, but it returns me false, why? Link to comment Share on other sites More sharing options...
olea Posted April 16, 2010 Share Posted April 16, 2010 Try this, with the quotes echo Configuration::get("PS_SHOP_NAME"); Link to comment Share on other sites More sharing options...
rickczsu Posted May 23, 2015 Share Posted May 23, 2015 echo Configuration::get('PS_SHOP_NAME'); NOT echo Configuration::get('PS_SHOP_NAME); 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