Commit 173e7c8abf93c9153dfbc857f5ea0de86b50f6d0

Authored by Administrator
1 parent 3918480b

10.06.16

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/views/basket/success.php
... ... @@ -19,7 +19,7 @@ if(isset($variants) && isset($order)){
19 19 foreach($variants as $index=>$row){
20 20 $orderData .= "
21 21 ga('ecommerce:addItem', {
22   - 'id': {$row['id']}, // ID - транзакции, обязательно
  22 + 'id': {$order->id}, // ID - транзакции, обязательно
23 23 'name': \"{$row['name']}\", // Имя товара
24 24 'price': {$row['price']}, // Цена товара
25 25 'quantity': {$row['count']} // Количество
... ...