Back to PhocacartUtilsSettings class

Method getShopType

public static
getShopType
()

Method getShopType - Source code

public static function getShopType()
{
    $type = array();
    $type[0] = 0;
    // common
    if (PhocacartPos::isPos()) {
        // POS
        $type[1] = 2;
    } else {
        // ONLINE SHOP
        $type[1] = 1;
    }
    return $type;
}