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; ?>' } );