diff --git a/core/lib/Thelia/Core/Template/Loop/ProductSaleElements.php b/core/lib/Thelia/Core/Template/Loop/ProductSaleElements.php index da2929c70..e1d54ff90 100755 --- a/core/lib/Thelia/Core/Template/Loop/ProductSaleElements.php +++ b/core/lib/Thelia/Core/Template/Loop/ProductSaleElements.php @@ -174,6 +174,7 @@ class ProductSaleElements extends BaseLoop implements PropelSearchLoopInterface ->set("IS_NEW" , $PSEValue->getNewness() === 1 ? 1 : 0) ->set("IS_DEFAULT" , $PSEValue->getIsDefault() === 1 ? 1 : 0) ->set("WEIGHT" , $PSEValue->getWeight()) + ->set("REF" , $PSEValue->getRef()) ->set("EAN_CODE" , $PSEValue->getEanCode()) ->set("PRICE" , $price) ->set("PRICE_TAX" , $taxedPrice - $price) diff --git a/templates/frontOffice/default/product.html b/templates/frontOffice/default/product.html index 097d40a4b..e09c97f3e 100644 --- a/templates/frontOffice/default/product.html +++ b/templates/frontOffice/default/product.html @@ -159,9 +159,13 @@ {form_field form=$form field='product_sale_elements_id'} {/form_field} @@ -192,17 +196,19 @@ {strip} {capture "additional"} - {ifloop rel="feature_value_info"} -