add block to add_to_basket for indiv handling
This commit is contained in:
parent
120c765d0c
commit
6a0fb759e1
@ -3,6 +3,7 @@
|
|||||||
[{*$gtmProduct|get_class_methods|dumpvar*}]
|
[{*$gtmProduct|get_class_methods|dumpvar*}]
|
||||||
|
|
||||||
[{capture assign=d3_ga4_add_to_cart}]
|
[{capture assign=d3_ga4_add_to_cart}]
|
||||||
|
[{block name="d3_ga4_add_to_basket"}]
|
||||||
$("#toBasket").click(function(event) {
|
$("#toBasket").click(function(event) {
|
||||||
[{*event.preventDefault();*}]
|
[{*event.preventDefault();*}]
|
||||||
|
|
||||||
@ -38,7 +39,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
[{/block}]
|
||||||
[{/capture}]
|
[{/capture}]
|
||||||
[{oxscript add=$d3_ga4_add_to_cart}]
|
[{oxscript add=$d3_ga4_add_to_cart}]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user