Guest User

Untitled

a guest
Dec 10th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. $col = Mage::getModel('colorswitcher/color')->getCollection();
  2.  
  3. if($storeId) {
  4. $col->addFieldToFilter('store_id', array('eq' => $storeId));
  5. }
  6.  
  7. $col->setOrder('name', 'asc');
Add Comment
Please, Sign In to add comment