add block to add_to_basket for indiv handling

This commit is contained in:
MaxBUhe 2023-01-25 14:32:22 +01:00
parent 120c765d0c
commit 6a0fb759e1

View File

@ -3,6 +3,7 @@
[{*$gtmProduct|get_class_methods|dumpvar*}]
[{capture assign=d3_ga4_add_to_cart}]
[{block name="d3_ga4_add_to_basket"}]
$("#toBasket").click(function(event) {
[{*event.preventDefault();*}]
@ -38,7 +39,7 @@
}
});
});
[{/block}]
[{/capture}]
[{oxscript add=$d3_ga4_add_to_cart}]