Back to PhocacartUtilsSettings class

Method getProductConditionValues

public static
getProductConditionValues
(mixed $condition)

Method getProductConditionValues - Source code

public static function getProductConditionValues($condition)
{
    switch ((int) $condition) {
        case 1:
            return 'refurbished';
            break;
        case 2:
            return 'used';
            break;
        case 0:
        default:
            return 'new';
            break;
    }
}