Merge branch 'ticket-GAnalytics' into develop
This commit is contained in:
commit
cbcf90c0ec
@ -95,8 +95,8 @@
|
||||
{/literal}{foreach from=$cartProducts item=cartProduct}{literal}
|
||||
ga('ec:addProduct', {
|
||||
'id': {/literal}{$cartProduct['id_product']}{literal},
|
||||
'name': '{/literal}{$cartProduct['name']}{literal}',
|
||||
'category': '{/literal}{$cartProduct['category']}{literal}',
|
||||
'name': "{/literal}{$cartProduct['name']}{literal}",
|
||||
'category': "{/literal}{$cartProduct['category']}{literal}",
|
||||
'price': {/literal}{Tools::ps_round(Product::getPriceStatic((int)$cartProduct['id_product'], true, ((isset($cartProduct['id_product_attribute']) AND !empty($cartProduct['id_product_attribute'])) ? (int)($cartProduct['id_product_attribute']) : NULL), 2), 2)}{literal},
|
||||
'quantity': {/literal}{$cartProduct['cart_quantity']}{literal}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user