diff --git a/templates/catalog/_partials/product-details.tpl b/templates/catalog/_partials/product-details.tpl
index 1e32d4c52..02103b3e8 100644
--- a/templates/catalog/_partials/product-details.tpl
+++ b/templates/catalog/_partials/product-details.tpl
@@ -13,7 +13,7 @@
- {block name='product_reference'}
+ {block name='product_manufacturer'}
{if isset($product_manufacturer->id)}
-
@@ -29,17 +29,19 @@
{/if}
+ {/if}
+ {/block}
- {if isset($product.reference_to_display) && $product.reference_to_display neq ''}
- -
-
- {l s='Reference' d='Shop.Theme.Catalog'}
-
-
- {$product.reference_to_display}
-
-
- {/if}
+ {block name='product_reference'}
+ {if !empty($product.reference_to_display)}
+ -
+
+ {l s='Reference' d='Shop.Theme.Catalog'}
+
+
+ {$product.reference_to_display}
+
+
{/if}
{/block}