Minor cosmetic changes

This commit is contained in:
Franck Allimant
2014-01-24 15:19:16 +01:00
parent edbc63bb53
commit af47399f09
3 changed files with 10 additions and 2 deletions

View File

@@ -55,6 +55,8 @@ class Product extends BaseProduct
/**
* Return the default PSE for this product.
*
* @return ProductSaleElements
*/
public function getDefaultSaleElements() {
return ProductSaleElementsQuery::create()->filterByProductId($this->id)->filterByIsDefault(true)->find();