Skip to content

How to get Config variables

Gunjan Patel edited this page Apr 21, 2016 · 4 revisions

New way to get Config variable

$config = Redshop::getConfig();
$config->get('SHOP_NAME');

// Or directly
$shopName = Redshop::getConfig()->get('SHOP_NAME');

Clone this wiki locally