Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as PHP by barsa ( 17 years ago )
$aSchema4Group = $Catalog->getSchema4Group($gr_id, '$aList[$row["id"]] = $row["schema_id"];');
$aProperty4Product=array();
$i=0;
if(!empty($aSchema4Group)){
foreach ($aSchema4Group as $sch_id) {
$aProperty4Schema = $Catalog->getProperty4Schema($sch_id, '$aList[$row["id"]] = $row["propety_id"];');
if(!empty($aProperty4Schema)){
foreach ($aProperty4Schema as $prop4sch=>$prop_id) {
$aProperty4Product[$i] = $Catalog->getRowProperty($prop_id);
$aProperty4Product[$i]['property4schema_id']=$prop4sch;
$i++;
}
}
}
}
Revise this Paste