ADSCOPE 605 Infant in GRY

Style: AD605 Color: GRY

Out of stock

Selected Color:

Colors

More like this

More in this style ADSCOPE 605 Infant (AD605)

More in this color (GRY)

SetCategoryInfo in BaseModel.php Array ( [category_name] => Medical Instruments [description] => Array ( [short] => [long] => ) [required] => Array ( [gba] => Array ( [0] => 89 ) ) [optional] => Array ( [ba] => Array ( [0] => 8920 [1] => 8961 [2] => 8962 [3] => 9002 ) ) ) RegisterFilter in BaseSearch.php szFilterField: gba szFilterVal: 89 szFilterType: required RegisterFilter in BaseSearch.php szFilterField: ba szFilterVal: 8920 szFilterType: optional RegisterFilter in BaseSearch.php szFilterField: ba szFilterVal: 8961 szFilterType: optional RegisterFilter in BaseSearch.php szFilterField: ba szFilterVal: 8962 szFilterType: optional RegisterFilter in BaseSearch.php szFilterField: ba szFilterVal: 9002 szFilterType: optional RegisterFilter in BaseSearch.php szFilterField: style_id szFilterVal: AD605 szFilterType: required RegisterFilter in BaseSearch.php szFilterField: color_id szFilterVal: GRY szFilterType: required RegisterFilter in BaseSearch.php szFilterField: start_num szFilterVal: 0 szFilterType: required ! ignored filter start_num 1. I'm in the Search function in BaseSearch.php. SELECT p.upc_id, p.style_id, p.color_id, p.wholesale_price, c.color_name, c.color_description, s.style_name, s.style_description, p.quantity_ats, p.size_id, a.attribute_description, p.style_category_group_id FROM ( color c, style s, product p) LEFT JOIN sci_attribute scia ON (p.style_id = scia.style_id AND p.color_id = scia.color_id AND p.identifier_id = scia.identifier_id AND scia.sci_group_id = 5) LEFT JOIN attribute a ON (a.attribute_id = scia.sci_attribute_id) LEFT JOIN sci_attribute exscia ON (p.style_id = exscia.style_id AND p.color_id = exscia.color_id AND p.identifier_id=exscia.identifier_id AND exscia.sci_attribute_id = '647') WHERE p.style_id = '^' AND c.status = 0 AND s.status = 0 AND p.color_id = c.color_id AND p.style_id = s.style_id AND exscia.sci_attribute_id IS NULL In BaseSearch::GenerateQuery with 2 filters In BaseSearch::GenerateQuery filters are Array ( [required] => Array ( [group] => Array ( [ba] => Array ( [0] => 89 ) ) [style_id] => Array ( [0] => AD605 ) [color_id] => Array ( [0] => GRY ) ) [optional] => Array ( [ba] => Array ( [0] => 8920 [1] => 8961 [2] => 8962 [3] => 9002 ) ) ) Starting RefactorRequired in QueryBuilderBase::RefactorRequired field=style_id value= AD605 group= base:=style # join: p.style_id = #.style_id AND #.style_id = '?' AND #.status = 0 End RefactorRequired QueryBuilderBase::RefactorRequired query SELECT p.upc_id, p.style_id, p.color_id, p.wholesale_price, c.color_name, c.color_description, s.style_name, s.style_description, p.quantity_ats, p.size_id, a.attribute_description, p.style_category_group_id FROM style req1_s, ( color c, style s, product p) LEFT JOIN sci_attribute scia ON (p.style_id = scia.style_id AND p.color_id = scia.color_id AND p.identifier_id = scia.identifier_id AND scia.sci_group_id = 5) LEFT JOIN attribute a ON (a.attribute_id = scia.sci_attribute_id) LEFT JOIN sci_attribute exscia ON (p.style_id = exscia.style_id AND p.color_id = exscia.color_id AND p.identifier_id=exscia.identifier_id AND exscia.sci_attribute_id = '647') WHERE p.style_id = req1_s.style_id AND req1_s.style_id IN ('AD605') AND req1_s.status = 0 AND p.style_id = '^' AND c.status = 0 AND s.status = 0 AND p.color_id = c.color_id AND p.style_id = s.style_id AND exscia.sci_attribute_id IS NULL Starting RefactorRequired in QueryBuilderBase::RefactorRequired field=color_id value= GRY group= base:=color # join: p.color_id = #.color_id AND #.color_id = '?' AND #.status = 0 End RefactorRequired QueryBuilderBase::RefactorRequired query SELECT p.upc_id, p.style_id, p.color_id, p.wholesale_price, c.color_name, c.color_description, s.style_name, s.style_description, p.quantity_ats, p.size_id, a.attribute_description, p.style_category_group_id FROM color req1_c, style req1_s, ( color c, style s, product p) LEFT JOIN sci_attribute scia ON (p.style_id = scia.style_id AND p.color_id = scia.color_id AND p.identifier_id = scia.identifier_id AND scia.sci_group_id = 5) LEFT JOIN attribute a ON (a.attribute_id = scia.sci_attribute_id) LEFT JOIN sci_attribute exscia ON (p.style_id = exscia.style_id AND p.color_id = exscia.color_id AND p.identifier_id=exscia.identifier_id AND exscia.sci_attribute_id = '647') WHERE p.color_id = req1_c.color_id AND req1_c.color_id IN ('GRY') AND req1_c.status = 0 AND p.style_id = req1_s.style_id AND req1_s.style_id IN ('AD605') AND req1_s.status = 0 AND p.style_id = '^' AND c.status = 0 AND s.status = 0 AND p.color_id = c.color_id AND p.style_id = s.style_id AND exscia.sci_attribute_id IS NULL Starting RefactorOptional in QueryBuilderBase::RefactorOptional field=ba value= group= base:=sci_attribute # join: p.style_id = #.style_id AND p.color_id = #.color_id AND p.identifier_id = #.identifier_id AND #.sci_group_id='89' AND #.sci_attribute_id = '?' AND #.status = 0 End RefactorOptional QueryBuilderBase::RefactorOptional query SELECT p.upc_id, p.style_id, p.color_id, p.wholesale_price, c.color_name, c.color_description, s.style_name, s.style_description, p.quantity_ats, p.size_id, a.attribute_description, p.style_category_group_id FROM sci_attribute opt1_ba, color req1_c, style req1_s, ( color c, style s, product p) LEFT JOIN sci_attribute scia ON (p.style_id = scia.style_id AND p.color_id = scia.color_id AND p.identifier_id = scia.identifier_id AND scia.sci_group_id = 5) LEFT JOIN attribute a ON (a.attribute_id = scia.sci_attribute_id) LEFT JOIN sci_attribute exscia ON (p.style_id = exscia.style_id AND p.color_id = exscia.color_id AND p.identifier_id=exscia.identifier_id AND exscia.sci_attribute_id = '647') WHERE p.style_id = opt1_ba.style_id AND p.color_id = opt1_ba.color_id AND p.identifier_id = opt1_ba.identifier_id AND opt1_ba.sci_group_id='89' AND opt1_ba.sci_attribute_id IN ('8920','8961','8962','9002') AND opt1_ba.status = 0 AND p.color_id = req1_c.color_id AND req1_c.color_id IN ('GRY') AND req1_c.status = 0 AND p.style_id = req1_s.style_id AND req1_s.style_id IN ('AD605') AND req1_s.status = 0 AND p.style_id = '^' AND c.status = 0 AND s.status = 0 AND p.color_id = c.color_id AND p.style_id = s.style_id AND exscia.sci_attribute_id IS NULL Checking for a brand RefactorQuery: 8920 | | 1; Refactored to: SELECT p.upc_id, p.style_id, p.color_id, p.wholesale_price, c.color_name, c.color_description, s.style_name, s.style_description, p.quantity_ats, p.size_id, a.attribute_description, p.style_category_group_id FROM sci_attribute opt1_ba, color req1_c, style req1_s, ( color c, style s, product p) LEFT JOIN sci_attribute scia ON (p.style_id = scia.style_id AND p.color_id = scia.color_id AND p.identifier_id = scia.identifier_id AND scia.sci_group_id = 5) LEFT JOIN attribute a ON (a.attribute_id = scia.sci_attribute_id) LEFT JOIN sci_attribute exscia ON (p.style_id = exscia.style_id AND p.color_id = exscia.color_id AND p.identifier_id=exscia.identifier_id AND exscia.sci_attribute_id = '647') WHERE p.style_id = opt1_ba.style_id AND p.color_id = opt1_ba.color_id AND p.identifier_id = opt1_ba.identifier_id AND opt1_ba.sci_group_id='89' AND opt1_ba.sci_attribute_id IN ('8920','8961','8962','9002') AND opt1_ba.status = 0 AND p.color_id = req1_c.color_id AND req1_c.color_id IN ('GRY') AND req1_c.status = 0 AND p.style_id = req1_s.style_id AND req1_s.style_id IN ('AD605') AND req1_s.status = 0 AND p.style_id = 'AD605' AND c.status = 0 AND s.status = 0 AND p.color_id = c.color_id AND p.style_id = s.style_id AND exscia.sci_attribute_id IS NULL =============================================================================================== Executed this query: SELECT p.upc_id, p.style_id, p.color_id, p.wholesale_price, c.color_name, c.color_description, s.style_name, s.style_description, p.quantity_ats, p.size_id, a.attribute_description, p.style_category_group_id FROM sci_attribute opt1_ba, color req1_c, style req1_s, ( color c, style s, product p) LEFT JOIN sci_attribute scia ON (p.style_id = scia.style_id AND p.color_id = scia.color_id AND p.identifier_id = scia.identifier_id AND scia.sci_group_id = 5) LEFT JOIN attribute a ON (a.attribute_id = scia.sci_attribute_id) LEFT JOIN sci_attribute exscia ON (p.style_id = exscia.style_id AND p.color_id = exscia.color_id AND p.identifier_id=exscia.identifier_id AND exscia.sci_attribute_id = '647') WHERE p.style_id = opt1_ba.style_id AND p.color_id = opt1_ba.color_id AND p.identifier_id = opt1_ba.identifier_id AND opt1_ba.sci_group_id='89' AND opt1_ba.sci_attribute_id IN ('8920','8961','8962','9002') AND opt1_ba.status = 0 AND p.color_id = req1_c.color_id AND req1_c.color_id IN ('GRY') AND req1_c.status = 0 AND p.style_id = req1_s.style_id AND req1_s.style_id IN ('AD605') AND req1_s.status = 0 AND p.style_id = 'AD605' AND c.status = 0 AND s.status = 0 AND p.color_id = c.color_id AND p.style_id = s.style_id AND exscia.sci_attribute_id IS NULL =============================================================================================== No errors found. Well done! Attaching Attributes to results 1 style attributes found 1 color attributes found 1 sci attributes found Exiting attribute attachment after 0.0029208660125732 seconds Exiting Search in BaseSearch =============================================================================================== label: obj->type: apparel