Commit f0988547ff9840fa5cd7d03961b9c9cb4e039915
1 parent
b3c5aa88
Google ecommerce
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
common/config/main.php
... | ... | @@ -9,8 +9,8 @@ return [ |
9 | 9 | ], |
10 | 10 | 'components' => [ |
11 | 11 | 'cache' => [ |
12 | - 'class' => 'yii\caching\DummyCache', | |
13 | -// 'keyPrefix' => 'linija_' | |
12 | + 'class' => 'yii\caching\MemCache', | |
13 | + 'keyPrefix' => 'linija_' | |
14 | 14 | ], |
15 | 15 | 'sms' => [ |
16 | 16 | 'class' => 'common\components\SmsSender', | ... | ... |
frontend/views/order/success.php
... | ... | @@ -60,8 +60,8 @@ |
60 | 60 | 'id': '<?= $order->id; ?>', |
61 | 61 | 'name': '<?= $product->product_name; ?>', |
62 | 62 | 'price': '<?= $product->price; ?>', |
63 | - 'sku': '<?= $product->sku; ?>', // Product sku | |
64 | - 'quantity': '<?= $product->quantity; ?>' // Product count | |
63 | + 'sku': '<?= $product->sku; ?>', | |
64 | + 'quantity': '<?= $product->quantity; ?>' | |
65 | 65 | } |
66 | 66 | ); |
67 | 67 | <?php | ... | ... |