From 9903af417f784b352521fadfd1ac26d931234c2f Mon Sep 17 00:00:00 2001 From: Dennis Andersson Date: Tue, 19 Dec 2023 11:37:57 +0100 Subject: [PATCH] Fix: Separate product reference and manufacturer --- .../catalog/_partials/product-details.tpl | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/templates/catalog/_partials/product-details.tpl b/templates/catalog/_partials/product-details.tpl index 1e32d4c52..94b33f4b7 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 isset($product.reference_to_display) && $product.reference_to_display neq ''} +
  • +
    + {l s='Reference' d='Shop.Theme.Catalog'} +
    +
    + {$product.reference_to_display} +
    +
  • {/if} {/block}