Example #1
0
 /**
  * Retrieve Attributes array used for sort by
  *
  * @return array
  */
 public function getAttributesUsedForSortBy()
 {
     $options = parent::getAttributesUsedForSortBy();
     return $this->addNewOptions($options, true);
 }
Example #2
0
 /**
  * Surcharge pour que ordered_qty soit toujours charg�s dans les listes
  *
  * @return array
  */
 public function getProductAttributes()
 {
     $return = parent::getProductAttributes();
     $return[] = 'ordered_qty';
     return $return;
 }