Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $select->joinInner(
- array('product_tierprice' => 'catalog_product_entity_tier_price'),
- 'product_tierprice.entity_id=rp.product_id',
- array()
- );
- $select->joinLeft(
- array('product_tierprice' => 'catalog_product_entity_tier_price'),
- 'product_tierprice.entity_id=rp.product_id',
- array()
- )->where('rp.product_id is NULL');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement