- Reimport as in 'update' the feed? Yes I did
- I tried without the pregmatch and tried it with 'Afrika' in select_5 using this code:
Code:
function afrika_cb(&$item) {
generic_cb($item);
$m5strtolower($item['menu_5']);
if ( $m5 != 'Afrika') {
$item['title']='';
return;
}
}
For some strange reasing I do see the callback button in the dropdownlist but clicking on 'browse items' I don't see the name of the productfeed itself appearing allthough the feed status is set to 'active'. I did put the above stated code directly under this part:
Code:
function zodee_cb (&$item) {
generic_cb($item);
#gender is somewhere
if ( preg_match ('#(Women|Men|Teen|Boy|Girl|Baby)#',$item['_category'],$m ) ) {
$item['menu_1']=$m[1];
} else {
$item['menu_1']='Women'; # that's the situation today
}
@list($t1,$item['menu_2'],$item['menu_3'],$item['menu_4'])=explode(">",$item['menu_2']);
fashion($item);
}