I would like to retrieve the ‘Minimum order amount’ value for free shipping in the ‘CartController.php’ class.
How can I get this value? Would Mage::getStoreConfig() do the job? But which path?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
the values are stored in the core_config_data table, and a search
WHERE path like '%minimum%'should result in few enough rows for you to spot which one. Alternatively, the ‘name’ of the input-field in the admin area will be the path with _s in place of /s.