Deceased
- Join Date:
- Aug 2004
- Location:
- Saint Petersburg, Russia
- Posts:
- 1,782
- Plugin Contributions:
- 5
Google Analytics Integration
You really don't see difference between
samad64:
number_format($products->fields['final_price'], 2, ',', '')
> to
> ```
number_format($products->fields['final_price'], 2, '.', ',')
and
100asa:
change this
number_format($products->fields['final_price'], 3, '.', '')
> with this
> ```
number_format($products->fields['final_price'], 2, ',', '')
RTFM! Google Analytics works with numbers, instead of with currency. Therefore to it is necessary to give it only sums. And always in one currency. Therefore in multiple currency shop it is necessary always to transform all the sums to default currency (I don't do this in public version - only by request).
NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.