Answer the question
In order to leave comments, you need to log in
Why doesn't Opencart e-commerce work?
You need to set up e-commerce on Opencart.
The code is given on the checkout page
<!-- Start Yandex Ecommerce -->
<script>
dataLayer.push({
"ecommerce": {
"purchase": {
"actionField": {
"id" : "815",
"affiliation": "http://xxx.ru",
"revenue": "100000"
},
"products": [
{
"id": "815",
"name": "Товар1 125.39",
"price": "2600.0000",
"brand": "Товар1 125.39",
"category": "",
"variant": "",
"quantity": "1"
},
]
}
}
});
</script>
<!-- End Yandex Ecommerce -->
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question