diff --git a/src/Synolia/Bundle/FavoriteBundle/Resources/views/layouts/default/oro_product_frontend_product_view/layout.html.twig b/src/Synolia/Bundle/FavoriteBundle/Resources/views/layouts/default/oro_product_frontend_product_view/layout.html.twig
deleted file mode 100644
index f553f80..0000000
--- a/src/Synolia/Bundle/FavoriteBundle/Resources/views/layouts/default/oro_product_frontend_product_view/layout.html.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{% block _favorite_media_container_widget %}
-
- {% set attr = layout_attr_defaults(attr, {
- 'data-page-component-view': 'synoliafavorite/js/app/views/favorite-button-ajax',
- 'data-page-component-options': { 'product': product }|json_encode,
- '~class': 'favorite-button'
- }) %}
-
-
-
- {{ block_widget(block) }}
- {% set heartSvg = is_favorite_product(product) ? 'heart' : 'heart-o' %}
-
-
-
-
-{% endblock %}
diff --git a/src/Synolia/Bundle/FavoriteBundle/Resources/views/layouts/default/page/layout.html.twig b/src/Synolia/Bundle/FavoriteBundle/Resources/views/layouts/default/page/layout.html.twig
index d086e06..88afc80 100644
--- a/src/Synolia/Bundle/FavoriteBundle/Resources/views/layouts/default/page/layout.html.twig
+++ b/src/Synolia/Bundle/FavoriteBundle/Resources/views/layouts/default/page/layout.html.twig
@@ -7,7 +7,7 @@
{% set options = {} %}
{% endif %}
- {% set heartSvg = isFavorite ? 'heart' : 'heart-o' %}
+ {% set heartSvgClass = isFavorite ? ' isFavorite' : '' %}
{% set attr = layout_attr_defaults(attr, {
'data-page-component-init-on': 'asap',
'data-page-component-view': 'synoliafavorite/js/app/views/favorite-button-view-ajax',
@@ -15,11 +15,7 @@
'~class': ' favorite-button favorite-button--' ~ class_prefix
}) %}
-
-
- {{ block_widget(block) }}
-
-
-
-
+
{% endblock %}