diff --git a/Application/Controller/Admin/GA4AdminUserInterface_main.php b/Application/Controller/Admin/GA4AdminUserInterface_main.php index b0e6a46..b5f5a51 100644 --- a/Application/Controller/Admin/GA4AdminUserInterface_main.php +++ b/Application/Controller/Admin/GA4AdminUserInterface_main.php @@ -12,7 +12,7 @@ use OxidEsales\Eshop\Core\ViewConfig; class GA4AdminUserInterface_main extends \OxidEsales\Eshop\Application\Controller\Admin\AdminDetailsController { - protected $_sThisTemplate = 'ga4/admin/d3ga4uimain.tpl'; + protected $_sThisTemplate = '@' . Constants::OXID_MODULE_ID . '/admin/d3ga4uimain'; public function render() { diff --git a/Application/views/admin/de/d3googleanalytics4_lang.php b/Application/views/admin_smarty/de/d3googleanalytics4_lang.php similarity index 100% rename from Application/views/admin/de/d3googleanalytics4_lang.php rename to Application/views/admin_smarty/de/d3googleanalytics4_lang.php diff --git a/Application/views/admin/de/module_options.php b/Application/views/admin_smarty/de/module_options.php old mode 100755 new mode 100644 similarity index 100% rename from Application/views/admin/de/module_options.php rename to Application/views/admin_smarty/de/module_options.php diff --git a/Application/views/blocks/add_payment_info.tpl b/Application/views/blocks/add_payment_info.tpl deleted file mode 100644 index e6a2f18..0000000 --- a/Application/views/blocks/add_payment_info.tpl +++ /dev/null @@ -1,3 +0,0 @@ -[{$smarty.block.parent}] - -[{include file="event/add_payment_info.tpl"}] \ No newline at end of file diff --git a/Application/views/blocks/begin_checkout.tpl b/Application/views/blocks/begin_checkout.tpl deleted file mode 100644 index de52b5f..0000000 --- a/Application/views/blocks/begin_checkout.tpl +++ /dev/null @@ -1,3 +0,0 @@ -[{$smarty.block.parent}] - -[{include file="event/begin_checkout.tpl"}] \ No newline at end of file diff --git a/Application/views/blocks/details_productmain_tobasket.tpl b/Application/views/blocks/details_productmain_tobasket.tpl deleted file mode 100644 index 6ccb0de..0000000 --- a/Application/views/blocks/details_productmain_tobasket.tpl +++ /dev/null @@ -1,3 +0,0 @@ -[{$smarty.block.parent}] - -[{include file="event/add_to_cart.tpl" htmlIdAmountOfArticles='#amountToBasket'}] \ No newline at end of file diff --git a/Application/views/blocks/page_list_listbody.tpl b/Application/views/blocks/page_list_listbody.tpl deleted file mode 100644 index 6ccb0de..0000000 --- a/Application/views/blocks/page_list_listbody.tpl +++ /dev/null @@ -1,3 +0,0 @@ -[{$smarty.block.parent}] - -[{include file="event/add_to_cart.tpl" htmlIdAmountOfArticles='#amountToBasket'}] \ No newline at end of file diff --git a/Application/views/blocks/purchase.tpl b/Application/views/blocks/purchase.tpl deleted file mode 100644 index eafcbb6..0000000 --- a/Application/views/blocks/purchase.tpl +++ /dev/null @@ -1,3 +0,0 @@ -[{$smarty.block.parent}] - -[{include file="event/purchase.tpl"}] diff --git a/Application/views/blocks/remove_from_cart.tpl b/Application/views/blocks/remove_from_cart.tpl deleted file mode 100644 index 3fd874a..0000000 --- a/Application/views/blocks/remove_from_cart.tpl +++ /dev/null @@ -1,3 +0,0 @@ -[{$smarty.block.parent}] - -[{include file="event/remove_from_cart.tpl"}] \ No newline at end of file diff --git a/Application/views/blocks/start_welcome_text.tpl b/Application/views/blocks/start_welcome_text.tpl deleted file mode 100644 index 6ccb0de..0000000 --- a/Application/views/blocks/start_welcome_text.tpl +++ /dev/null @@ -1,3 +0,0 @@ -[{$smarty.block.parent}] - -[{include file="event/add_to_cart.tpl" htmlIdAmountOfArticles='#amountToBasket'}] \ No newline at end of file diff --git a/Application/views/blocks/view_cart.tpl b/Application/views/blocks/view_cart.tpl deleted file mode 100644 index 598f452..0000000 --- a/Application/views/blocks/view_cart.tpl +++ /dev/null @@ -1,3 +0,0 @@ -[{$smarty.block.parent}] - -[{include file="event/view_cart.tpl"}] diff --git a/Application/views/blocks/view_item.tpl b/Application/views/blocks/view_item.tpl deleted file mode 100644 index 48069ed..0000000 --- a/Application/views/blocks/view_item.tpl +++ /dev/null @@ -1,3 +0,0 @@ -[{$smarty.block.parent}] - -[{include file="event/view_item.tpl"}] diff --git a/Application/views/blocks/view_item_list.tpl b/Application/views/blocks/view_item_list.tpl deleted file mode 100644 index beba87d..0000000 --- a/Application/views/blocks/view_item_list.tpl +++ /dev/null @@ -1,3 +0,0 @@ -[{$smarty.block.parent}] - -[{include file="event/view_item_list.tpl"}] \ No newline at end of file diff --git a/Application/views/blocks/view_search_result.tpl b/Application/views/blocks/view_search_result.tpl deleted file mode 100644 index 1684871..0000000 --- a/Application/views/blocks/view_search_result.tpl +++ /dev/null @@ -1,3 +0,0 @@ -[{$smarty.block.parent}] - -[{include file="event/view_search_result.tpl"}] \ No newline at end of file diff --git a/Application/views/ga4/remove_from_cart.tpl b/Application/views/ga4/remove_from_cart.tpl deleted file mode 100644 index 8c41746..0000000 --- a/Application/views/ga4/remove_from_cart.tpl +++ /dev/null @@ -1,48 +0,0 @@ -[{$smarty.block.parent}] - -[{block name="d3_ga4_remove_from_cart_block"}] - [{if $hasBeenReloaded}] - [{assign var="d3BasketPrice" value=$oxcmp_basket->getPrice()}] - [{capture assign=d3_ga4_remove_from_cart}] - [{strip}] - dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */ - dataLayer.push({ - 'isRemoveFromCart': true, - 'event': 'remove_from_cart', - 'eventLabel':'remove_from_cart', - 'ecommerce': { - 'actionField': "step: 1", - 'currency': "[{$currency->name}]", - 'value': [{$d3BasketPrice->getPrice()}], - 'coupon': '[{foreach from=$oxcmp_basket->getVouchers() item=sVoucher key=key name=Voucher}][{$sVoucher->sVoucherNr}][{if !$smarty.foreach.Voucher.last}], [{/if}][{/foreach}]', - 'items': [ - [{foreach from=$toRemoveArticles->getArray() name=gtmRemovedItems item=rmItem key=rmItemindex}] - [{assign var="d3oItemPrice" value=$rmItem->getPrice()}] - [{assign var="gtmBasketItemCategory" value=$rmItem->getCategory()}] - { - 'item_id': '[{$rmItem->getFieldData('oxartnum')}]', - 'item_name': '[{$rmItem->getFieldData('oxtitle')}]', - 'item_variant': '[{$rmItem->getFieldData('oxvarselect')}]', - [{if $gtmBasketItemCategory}] - 'item_category': '[{$gtmBasketItemCategory->getSplitCategoryArray(0)}]', - 'item_category_2': '[{$gtmBasketItemCategory->getSplitCategoryArray(1)}]', - 'item_category_3': '[{$gtmBasketItemCategory->getSplitCategoryArray(2)}]', - 'item_category_4': '[{$gtmBasketItemCategory->getSplitCategoryArray(3)}]', - 'item_list_name': '[{$gtmBasketItemCategory->getSplitCategoryArray()}]', - [{/if}] - 'price': [{$d3oItemPrice->getPrice()}], - 'coupon': '[{foreach from=$oxcmp_basket->getVouchers() item=sVoucher key=key name=Voucher}][{$sVoucher->sVoucherNr}][{if !$smarty.foreach.Voucher.last}], [{/if}][{/foreach}]', - 'quantity': '[{$rmItem->getFieldData('d3AmountThatGotRemoved')}]', - 'position': [{$smarty.foreach.gtmRemovedItems.index}] - }[{if !$smarty.foreach.gtmRemovedItems.last}],[{/if}] - [{/foreach}] - ] - }[{if $oViewConf->isDebugModeOn()}], - 'debug_mode': 'true' - [{/if}] - }); - [{/strip}] - [{/capture}] - [{oxscript add=$d3_ga4_remove_from_cart}] - [{/if}] -[{/block}] \ No newline at end of file diff --git a/Application/views/ga4/view_search_result.tpl b/Application/views/ga4/view_search_result.tpl deleted file mode 100644 index f73643e..0000000 --- a/Application/views/ga4/view_search_result.tpl +++ /dev/null @@ -1,44 +0,0 @@ -[{$smarty.block.parent}] - -[{assign var="gtmProducts" value=$oView->getArticleList()}] - -[{block name="d3_ga4_view_search_result_block"}] - [{if $gtmProducts}] - [{capture assign=d3_ga4_view_search_result}] - [{strip}] - dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */ - dataLayer.push({ - 'event': 'view_search_result', - 'eventLabel':'view_search_result[{if $oViewConf->isDebugModeOn()}]_test[{/if}]', - 'ecommerce': { - 'search_term': '[{$searchparamforhtml}]', - 'items': [ - [{foreach from=$gtmProducts name="gtmProducts" item="gtmProduct"}] - [{assign var="d3PriceObject" value=$gtmProduct->getPrice()}] - [{assign var="gtmManufacturer" value=$gtmProduct->getManufacturer()}] - [{assign var="gtmCategory" value=$gtmProduct->getCategory()}] - { - 'item_id': '[{$gtmProduct->getFieldData("oxartnum")}]', - 'item_name': '[{$gtmProduct->getFieldData("oxtitle")}]', - 'price': [{$d3PriceObject->getPrice()}], - 'item_brand': '[{if $gtmManufacturer}][{$gtmManufacturer->oxmanufacturers__oxtitle->value}][{/if}]', - [{if $gtmCategory}] - 'item_category': '[{$gtmCategory->getSplitCategoryArray(0)}]', - 'item_category_2':'[{$gtmCategory->getSplitCategoryArray(1)}]', - 'item_category_3':'[{$gtmCategory->getSplitCategoryArray(2)}]', - 'item_category_4':'[{$gtmCategory->getSplitCategoryArray(3)}]', - 'item_list_name':'[{$gtmCategory->getSplitCategoryArray()}]', - [{/if}] - 'quantity': 1 - }[{if !$smarty.foreach.gtmProducts.last}],[{/if}] - [{/foreach}] - ] - }[{if $oViewConf->isDebugModeOn()}], - 'debug_mode': 'true' - [{/if}] - }); - [{/strip}] - [{/capture}] - [{oxscript add=$d3_ga4_view_search_result}] - [{/if}] -[{/block}] \ No newline at end of file diff --git a/Modules/Application/Controller/d3GtmAccountNoticeListController.php b/Modules/Application/Controller/d3GtmAccountNoticeListController.php index 8c62241..1a3ae17 100644 --- a/Modules/Application/Controller/d3GtmAccountNoticeListController.php +++ b/Modules/Application/Controller/d3GtmAccountNoticeListController.php @@ -4,7 +4,7 @@ namespace D3\GoogleAnalytics4\Modules\Application\Controller; class d3GtmAccountNoticeListController extends d3GtmAccountNoticeListController_parent { - protected $_sThisTemplate = 'page/account/d3gtmnoticelist.tpl'; + protected $_sThisTemplate = '@' . Constants::OXID_MODULE_ID . '/page/account/d3gtmnoticelist.tpl'; public function render() { diff --git a/Modules/Application/Controller/d3GtmAccountRecommlistController.php b/Modules/Application/Controller/d3GtmAccountRecommlistController.php index 6e9e825..8bef631 100644 --- a/Modules/Application/Controller/d3GtmAccountRecommlistController.php +++ b/Modules/Application/Controller/d3GtmAccountRecommlistController.php @@ -4,7 +4,7 @@ namespace D3\GoogleAnalytics4\Modules\Application\Controller; class d3GtmAccountRecommlistController extends d3GtmAccountRecommlistController_parent { - protected $_sThisTemplate = 'page/account/d3gtmrecommendationlist.tpl'; + protected $_sThisTemplate = '@' . Constants::OXID_MODULE_ID . '/page/account/d3gtmrecommendationlist.tpl'; public function render() { diff --git a/Modules/Application/Controller/d3GtmAccountWishlistController.php b/Modules/Application/Controller/d3GtmAccountWishlistController.php index 731d6d4..8fc2838 100644 --- a/Modules/Application/Controller/d3GtmAccountWishlistController.php +++ b/Modules/Application/Controller/d3GtmAccountWishlistController.php @@ -4,7 +4,7 @@ namespace D3\GoogleAnalytics4\Modules\Application\Controller; class d3GtmAccountWishlistController extends d3GtmAccountWishlistController_parent { - protected $_sThisTemplate = 'page/account/d3gtmwishlist.tpl'; + protected $_sThisTemplate = '@' . Constants::OXID_MODULE_ID . '/page/account/d3gtmwishlist.tpl'; public function render() { diff --git a/thumbnail.png b/assets/thumbnail.png old mode 100755 new mode 100644 similarity index 100% rename from thumbnail.png rename to assets/thumbnail.png diff --git a/composer.json b/composer.json index f6c687b..e7e7a77 100644 --- a/composer.json +++ b/composer.json @@ -28,20 +28,9 @@ "homepage": "https://www.d3data.de" } ], - "support": { + "supports": { "email": "support@shopmodule.com" }, - "extra": { - "oxideshop": { - "blacklist-filter": [ - "*.md", - "composer.json", - ".php-cs-fixer.php", - "*.neon" - ], - "target-directory": "d3/googleanalytics4" - } - }, "require": { "php": "7.1 - 8.2", "oxid-esales/oxideshop-ce": "^6.5.3", @@ -50,7 +39,7 @@ }, "autoload": { "psr-4": { - "D3\\GoogleAnalytics4\\": "../../../source/modules/d3/googleanalytics4" + "D3\\GoogleAnalytics4\\": "" } } } \ No newline at end of file diff --git a/Application/views/admin/tpl/d3googleanalytics4_headitem.tpl b/views/smarty/admin/d3googleanalytics4_headitem.tpl similarity index 100% rename from Application/views/admin/tpl/d3googleanalytics4_headitem.tpl rename to views/smarty/admin/d3googleanalytics4_headitem.tpl diff --git a/Application/views/admin/tpl/d3googleanalytics4_main.tpl b/views/smarty/admin/d3googleanalytics4_main.tpl similarity index 100% rename from Application/views/admin/tpl/d3googleanalytics4_main.tpl rename to views/smarty/admin/d3googleanalytics4_main.tpl diff --git a/Application/views/blocks/_gtm_js.tpl b/views/smarty/blocks/_gtm_js.tpl old mode 100755 new mode 100644 similarity index 100% rename from Application/views/blocks/_gtm_js.tpl rename to views/smarty/blocks/_gtm_js.tpl diff --git a/Application/views/blocks/_gtm_nojs.tpl b/views/smarty/blocks/_gtm_nojs.tpl similarity index 92% rename from Application/views/blocks/_gtm_nojs.tpl rename to views/smarty/blocks/_gtm_nojs.tpl index e15907e..d243c15 100644 --- a/Application/views/blocks/_gtm_nojs.tpl +++ b/views/smarty/blocks/_gtm_nojs.tpl @@ -1,12 +1,12 @@ -[{if $oViewConf->D3blShowGtmScript()}] - [{if $oViewConf->getGtmContainerId()}][{strip}] - - - - [{/strip}][{/if}] - [{/if}] - +[{if $oViewConf->D3blShowGtmScript()}] + [{if $oViewConf->getGtmContainerId()}][{strip}] + + + + [{/strip}][{/if}] + [{/if}] + [{$smarty.block.parent}] \ No newline at end of file diff --git a/views/smarty/blocks/add_payment_info.tpl b/views/smarty/blocks/add_payment_info.tpl new file mode 100644 index 0000000..4a01e6e --- /dev/null +++ b/views/smarty/blocks/add_payment_info.tpl @@ -0,0 +1,3 @@ +[{$smarty.block.parent}] + +[{include file="@d3googleanalytics4/event/add_payment_info.tpl"}] \ No newline at end of file diff --git a/views/smarty/blocks/begin_checkout.tpl b/views/smarty/blocks/begin_checkout.tpl new file mode 100644 index 0000000..ef4c261 --- /dev/null +++ b/views/smarty/blocks/begin_checkout.tpl @@ -0,0 +1,3 @@ +[{$smarty.block.parent}] + +[{include file="@d3googleanalytics4/event/begin_checkout.tpl"}] \ No newline at end of file diff --git a/views/smarty/blocks/details_productmain_tobasket.tpl b/views/smarty/blocks/details_productmain_tobasket.tpl new file mode 100644 index 0000000..15e55c6 --- /dev/null +++ b/views/smarty/blocks/details_productmain_tobasket.tpl @@ -0,0 +1,3 @@ +[{$smarty.block.parent}] + +[{include file='@d3googleanalytics4/event/add_to_cart.tpl' htmlIdAmountOfArticles='#amountToBasket'}] \ No newline at end of file diff --git a/views/smarty/blocks/page_list_listbody.tpl b/views/smarty/blocks/page_list_listbody.tpl new file mode 100644 index 0000000..15e55c6 --- /dev/null +++ b/views/smarty/blocks/page_list_listbody.tpl @@ -0,0 +1,3 @@ +[{$smarty.block.parent}] + +[{include file='@d3googleanalytics4/event/add_to_cart.tpl' htmlIdAmountOfArticles='#amountToBasket'}] \ No newline at end of file diff --git a/views/smarty/blocks/purchase.tpl b/views/smarty/blocks/purchase.tpl new file mode 100644 index 0000000..c382619 --- /dev/null +++ b/views/smarty/blocks/purchase.tpl @@ -0,0 +1,3 @@ +[{$smarty.block.parent}] + +[{include file="@d3googleanalytics4/event/purchase.tpl"}] diff --git a/views/smarty/blocks/remove_from_cart.tpl b/views/smarty/blocks/remove_from_cart.tpl new file mode 100644 index 0000000..3babbf7 --- /dev/null +++ b/views/smarty/blocks/remove_from_cart.tpl @@ -0,0 +1,3 @@ +[{$smarty.block.parent}] + +[{include file="@d3googleanalytics4/event/remove_from_cart.tpl"}] \ No newline at end of file diff --git a/views/smarty/blocks/start_welcome_text.tpl b/views/smarty/blocks/start_welcome_text.tpl new file mode 100644 index 0000000..15e55c6 --- /dev/null +++ b/views/smarty/blocks/start_welcome_text.tpl @@ -0,0 +1,3 @@ +[{$smarty.block.parent}] + +[{include file='@d3googleanalytics4/event/add_to_cart.tpl' htmlIdAmountOfArticles='#amountToBasket'}] \ No newline at end of file diff --git a/views/smarty/blocks/view_cart.tpl b/views/smarty/blocks/view_cart.tpl new file mode 100644 index 0000000..0630457 --- /dev/null +++ b/views/smarty/blocks/view_cart.tpl @@ -0,0 +1,3 @@ +[{$smarty.block.parent}] + +[{include file="@d3googleanalytics4/event/view_cart.tpl"}] diff --git a/views/smarty/blocks/view_item.tpl b/views/smarty/blocks/view_item.tpl new file mode 100644 index 0000000..84b39d2 --- /dev/null +++ b/views/smarty/blocks/view_item.tpl @@ -0,0 +1,3 @@ +[{$smarty.block.parent}] + +[{include file="@d3googleanalytics4/event/view_item.tpl"}] diff --git a/views/smarty/blocks/view_item_list.tpl b/views/smarty/blocks/view_item_list.tpl new file mode 100644 index 0000000..5fe39d2 --- /dev/null +++ b/views/smarty/blocks/view_item_list.tpl @@ -0,0 +1,3 @@ +[{$smarty.block.parent}] + +[{include file="@d3googleanalytics4/event/view_item_list.tpl"}] \ No newline at end of file diff --git a/views/smarty/blocks/view_search_result.tpl b/views/smarty/blocks/view_search_result.tpl new file mode 100644 index 0000000..80c06bf --- /dev/null +++ b/views/smarty/blocks/view_search_result.tpl @@ -0,0 +1,3 @@ +[{$smarty.block.parent}] + +[{include file="@d3googleanalytics4/event/view_search_result.tpl"}] \ No newline at end of file diff --git a/Application/views/event/add_payment_info.tpl b/views/smarty/event/add_payment_info.tpl similarity index 100% rename from Application/views/event/add_payment_info.tpl rename to views/smarty/event/add_payment_info.tpl diff --git a/Application/views/event/add_to_cart.tpl b/views/smarty/event/add_to_cart.tpl similarity index 100% rename from Application/views/event/add_to_cart.tpl rename to views/smarty/event/add_to_cart.tpl diff --git a/Application/views/event/begin_checkout.tpl b/views/smarty/event/begin_checkout.tpl similarity index 100% rename from Application/views/event/begin_checkout.tpl rename to views/smarty/event/begin_checkout.tpl diff --git a/Application/views/event/purchase.tpl b/views/smarty/event/purchase.tpl similarity index 100% rename from Application/views/event/purchase.tpl rename to views/smarty/event/purchase.tpl diff --git a/Application/views/event/remove_from_cart.tpl b/views/smarty/event/remove_from_cart.tpl similarity index 100% rename from Application/views/event/remove_from_cart.tpl rename to views/smarty/event/remove_from_cart.tpl diff --git a/Application/views/event/view_cart.tpl b/views/smarty/event/view_cart.tpl similarity index 100% rename from Application/views/event/view_cart.tpl rename to views/smarty/event/view_cart.tpl diff --git a/Application/views/event/view_item.tpl b/views/smarty/event/view_item.tpl similarity index 100% rename from Application/views/event/view_item.tpl rename to views/smarty/event/view_item.tpl diff --git a/Application/views/event/view_item_list.tpl b/views/smarty/event/view_item_list.tpl similarity index 100% rename from Application/views/event/view_item_list.tpl rename to views/smarty/event/view_item_list.tpl diff --git a/Application/views/event/view_search_result.tpl b/views/smarty/event/view_search_result.tpl similarity index 95% rename from Application/views/event/view_search_result.tpl rename to views/smarty/event/view_search_result.tpl index aad6232..5808d42 100644 --- a/Application/views/event/view_search_result.tpl +++ b/views/smarty/event/view_search_result.tpl @@ -41,4 +41,4 @@ [{/if}] [{/block}] -[{include file="event/add_to_cart.tpl" htmlIdAmountOfArticles='#amountToBasket'}] \ No newline at end of file +[{include file='@d3googleanalytics4/event/add_to_cart.tpl' htmlIdAmountOfArticles='#amountToBasket'}] \ No newline at end of file diff --git a/Application/views/tpl/page/account/d3gtmnoticelist.tpl b/views/smarty/page/account/d3gtmnoticelist.tpl similarity index 82% rename from Application/views/tpl/page/account/d3gtmnoticelist.tpl rename to views/smarty/page/account/d3gtmnoticelist.tpl index 1f7ee6c..ddc968b 100644 --- a/Application/views/tpl/page/account/d3gtmnoticelist.tpl +++ b/views/smarty/page/account/d3gtmnoticelist.tpl @@ -8,7 +8,7 @@

[{oxmultilang ident="WISH_LIST_EMPTY"}]

[{/if}] - [{include file="event/add_to_cart.tpl" htmlIdAmountOfArticles='#amountToBasket'}] + [{include file='@d3googleanalytics4/event/add_to_cart.tpl' htmlIdAmountOfArticles='#amountToBasket'}] [{insert name="oxid_tracker" title=$template_title}] [{/capture}] diff --git a/Application/views/tpl/page/account/d3gtmrecommendationlist.tpl b/views/smarty/page/account/d3gtmrecommendationlist.tpl similarity index 91% rename from Application/views/tpl/page/account/d3gtmrecommendationlist.tpl rename to views/smarty/page/account/d3gtmrecommendationlist.tpl index c5828da..fce1b86 100644 --- a/Application/views/tpl/page/account/d3gtmrecommendationlist.tpl +++ b/views/smarty/page/account/d3gtmrecommendationlist.tpl @@ -21,7 +21,7 @@ [{/if}] [{/block}] - [{include file="event/add_to_cart.tpl" htmlIdAmountOfArticles='#amountToBasket'}] + [{include file='@d3googleanalytics4/event/add_to_cart.tpl' htmlIdAmountOfArticles='#amountToBasket'}] [{insert name="oxid_tracker" title=$template_title}] [{/capture}] diff --git a/Application/views/tpl/page/account/d3gtmwishlist.tpl b/views/smarty/page/account/d3gtmwishlist.tpl similarity index 91% rename from Application/views/tpl/page/account/d3gtmwishlist.tpl rename to views/smarty/page/account/d3gtmwishlist.tpl index d813415..512af8f 100644 --- a/Application/views/tpl/page/account/d3gtmwishlist.tpl +++ b/views/smarty/page/account/d3gtmwishlist.tpl @@ -34,7 +34,7 @@

[{/if}] - [{include file="event/add_to_cart.tpl" htmlIdAmountOfArticles='#amountToBasket'}] + [{include file='@d3googleanalytics4/event/add_to_cart.tpl' htmlIdAmountOfArticles='#amountToBasket'}] [{insert name="oxid_tracker" title=$template_title}] [{/capture}]