From f0988547ff9840fa5cd7d03961b9c9cb4e039915 Mon Sep 17 00:00:00 2001 From: yarik Date: Tue, 28 Mar 2017 17:44:56 +0300 Subject: [PATCH] Google ecommerce --- common/config/main.php | 4 ++-- frontend/views/order/success.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/config/main.php b/common/config/main.php index b62ead0..0b034e2 100755 --- a/common/config/main.php +++ b/common/config/main.php @@ -9,8 +9,8 @@ return [ ], 'components' => [ 'cache' => [ - 'class' => 'yii\caching\DummyCache', -// 'keyPrefix' => 'linija_' + 'class' => 'yii\caching\MemCache', + 'keyPrefix' => 'linija_' ], 'sms' => [ 'class' => 'common\components\SmsSender', diff --git a/frontend/views/order/success.php b/frontend/views/order/success.php index be364a1..99c6c97 100755 --- a/frontend/views/order/success.php +++ b/frontend/views/order/success.php @@ -60,8 +60,8 @@ 'id': 'id; ?>', 'name': 'product_name; ?>', 'price': 'price; ?>', - 'sku': 'sku; ?>', // Product sku - 'quantity': 'quantity; ?>' // Product count + 'sku': 'sku; ?>', + 'quantity': 'quantity; ?>' } );