Magento - Không thể đặt thứ tự của bộ sưu tập
Điều này dường như không được đặt hàng chính xác, bất cứ điều gì tôi đang làm sai? Gợi ý? $componentQuantityCollection = Mage::getModel('catalog/product')->getCollection(); $componentQuantityCollection->joinField('qty', 'cataloginventory/stock_item', 'qty', 'product_id=entity_id', '{{table}}.stock_id=1', 'left'); $componentQuantityCollection->addAttributeToFilter('sku', array('in' => $componentSkus))->setOrder('sku','ASC'); Một bộ sưu tập khác dường như không được sắp xếp khác với bộ sưu tập đầu …