From ff547766797200689c9cd56b422a6b5aaf644954 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 28 Aug 2017 17:14:02 +0300 Subject: [PATCH] wrong status fixed --- frontend/views/catalog/_product_item.php | 4 ++-- frontend/views/catalog/product.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/views/catalog/_product_item.php b/frontend/views/catalog/_product_item.php index fbf9fa5..db87d9f 100755 --- a/frontend/views/catalog/_product_item.php +++ b/frontend/views/catalog/_product_item.php @@ -96,10 +96,10 @@ use yii\helpers\Url; variant->status == 1){?> снят с производства - variant->status == 2) {?> - в ожидании variant->stock > 0) {?> в наличии + variant->status == 2) {?> + в ожидании под заказ diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index a5510b5..80246bd 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -234,10 +234,10 @@ variant->status == 1){?> снят с производства + variant->stock > 0) {?> + в наличии variant->status == 2) {?> в ожидании - variant->stock > 0) {?> - в наличии под заказ -- libgit2 0.21.4