Back to PhocacartPos class

Method isPosEnabled

public static
isPosEnabled
()

Method isPosEnabled - Source code

public static function isPosEnabled()
{
    $pC = PhocacartUtils::getComponentParameters();
    $pos_enabled = $pC->get('pos_enabled', 0);
    if ($pos_enabled) {
        return true;
    }
    return false;
}