Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ($arOrder) {
- $salecond_0_0=function($row){
- return
- (
- (
- (
- isset($row['CATALOG']['SECTION_ID']) && in_array(675, $row['CATALOG']['SECTION_ID'])
- )
- )
- ) || (
- (
- (
- isset($row['CATALOG']['SECTION_ID']) && in_array(19282, $row['CATALOG']['SECTION_ID'])
- )
- )
- ) || (
- (
- (
- isset($row['CATALOG']['SECTION_ID']) && in_array(415, $row['CATALOG']['SECTION_ID'])
- )
- )
- ) || (
- (
- (
- isset($row['CATALOG']['SECTION_ID']) && in_array(16171, $row['CATALOG']['SECTION_ID'])
- )
- )
- );
- };
- $salecond_0_1=function($row){
- return
- (
- (
- (
- isset($row['CATALOG']['PROPERTY_699_VALUE']) && in_array("3", $row['CATALOG']['PROPERTY_699_VALUE'])
- )
- )
- ) || (
- (
- (
- isset($row['CATALOG']['PROPERTY_699_VALUE']) && in_array("3d", $row['CATALOG']['PROPERTY_699_VALUE'])
- )
- )
- );
- };
- return
- (
- (
- (CSaleBasketFilter::ProductFilter($arOrder, $salecond_0_0)) && (CSaleBasketFilter::ProductFilter($arOrder, $salecond_0_1))
- &&
- (
- (
- (
- isset($arOrder['USER_GROUPS']) && ((!in_array(10, $arOrder['USER_GROUPS'])))
- )
- )
- )
- )
- );
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement