diff --git a/Application/views/blocks/view_item.tpl b/Application/views/blocks/view_item.tpl
new file mode 100644
index 0000000..ac54467
--- /dev/null
+++ b/Application/views/blocks/view_item.tpl
@@ -0,0 +1,25 @@
+[{$smarty.block.parent}]
+[{assign var="gtmProduct" value=$oView->getProduct()}]
+[{assign var="gtmCategory" value=$gtmProduct->getCategory()}]
+[{assign var="gtmManufacturer" value=$gtmProduct->getManufacturer()}]
+
+
\ No newline at end of file
diff --git a/Application/views/ga4/add_to_cart.tpl b/Application/views/ga4/add_to_cart.tpl
index 83062ec..b1b13f2 100644
--- a/Application/views/ga4/add_to_cart.tpl
+++ b/Application/views/ga4/add_to_cart.tpl
@@ -5,6 +5,8 @@
[{capture assign=d3_ga4_add_to_cart}]
[{block name="d3_ga4_add_to_basket"}]
$("#toBasket").click(function(event) {
+
+ [{*** Debug cases ***}]
[{*event.preventDefault();*}]
let iArtQuantity = $("#amountToBasket").val();
@@ -28,7 +30,6 @@
'item_category_3':itemCategories[2] || '',
'item_category_4':itemCategories[3] || '',
[{if false}]
- [{* ??? what *}]
'item_list_name': 'Search Results', // If associated with a list selection.
'item_list_id': 'SR123', // If associated with a list selection.
'index': 1, // If associated with a list selection.
diff --git a/metadata.php b/metadata.php
index 692d687..b7c02ef 100755
--- a/metadata.php
+++ b/metadata.php
@@ -17,7 +17,7 @@ $aModule = [
Die Entwicklung basiert auf einem Fork von Marat Bedoev - Github-Link
",
'thumbnail' => 'thumbnail.png',
- 'version' => '2.3.2',
+ 'version' => '2.3.3',
'author' => 'Data Development (Inh.: Thomas Dartsch)',
'email' => 'support@shopmodule.com',
'url' => 'https://www.oxidmodule.com/',
@@ -43,19 +43,6 @@ $aModule = [
'block' => 'theme_svg_icons',
'file' => '/Application/views/blocks/_gtm_nojs.tpl'
],
- // widget_product_list
- [
- 'template' => 'widget/product/list.tpl',
- 'block' => 'widget_product_list',
- 'file' => '/Application/views/blocks/widget_product_list.tpl'
- ],
- // details
- [
- 'template' => 'page/details/inc/productmain.tpl',
- 'block' => 'details_productmain_title',
- 'file' => '/Application/views/blocks/detail.tpl',
- 'position' => 150
- ],
// checkout
// view_cart
[
@@ -68,6 +55,13 @@ $aModule = [
'block' => 'checkout_thankyou_main',
'file' => '/Application/views/blocks/checkout_s5.tpl'
],
+ // details
+ [
+ 'template' => 'page/details/inc/productmain.tpl',
+ 'block' => 'details_productmain_title',
+ 'file' => '/Application/views/blocks/view_item.tpl',
+ 'position' => 150
+ ],
// Lists
// view_item_list
[