rather using basket_component to get formatted price

Cette révision appartient à :
MaxBUhe 2023-01-25 14:30:59 +01:00
Parent 4f73f18080
révision 120c765d0c
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

@ -11,7 +11,7 @@
'ecommerce': {
'actionField': "step: 1",
'currency': "[{$currency->name}]",
'value': [{$oxcmp_basket->getBruttoSum()}],
'value': [{oxprice price=$oxcmp_basket->getPrice()}],
'items': [
[{foreach from=$oxcmp_basket->getContents() item=basketitem name=gtmCartContents key=basketindex}]
[{assign var='_price' value=$basketitem->getUnitPrice()}]