Benoit Wickramarachi Benoit Wickramarachi - 1 year ago 75
PHP Question

Magento retrieve the 'Minimum order amount' for free shipping value

I would like to retrieve the 'Minimum order amount' value for free shipping in the 'CartController.php' class.

How can I get this value ? Is

will do the job ? But which path?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download