-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfilter_old.php
More file actions
12 lines (12 loc) · 833 Bytes
/
Copy pathfilter_old.php
File metadata and controls
12 lines (12 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
<?
if ($fbrand == $item_brand_code && $fcolor == $item_color || $fbrand == '' && $fcolor == $item_color || $fbrand == $item_brand_code && $fcolor == '' || $fbrand == '' && $fcolor == '') {
$arSkuProps['size'][] = $item_size;
}
if ($fbrand == $item_brand_code && $fsize == $item_size || $fbrand == '' && $fsize == $item_size || $fbrand == $item_brand_code && $fsize == '' || $fbrand == '' && $fsize == '') {
$arSkuProps['color'][] = $item_color;
}
if ($fcolor == $item_color && $fsize == $item_size || $fcolor == '' && $fsize == $item_size || $fcolor == $item_color && $fsize == '' || $fcolor == '' && $fsize == '') {
$arSkuProps['brand'][$item_brand_code]['id'] = $item_brand_id;
$arSkuProps['brand'][$item_brand_code]['code'] = $item_brand_code;
$arSkuProps['brand'][$item_brand_code]['name'] = $item_brand_name;
}