diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index e62345f..8fcd075 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -109,7 +109,15 @@ FlipclockAsset::register($this); - Купить + variant->stock > 0 && $product->variant->status != 1){?> + Купить + variant->status == 1){?> + снят с производства + + Под заказ + + variant->price > 0 && $product->variant->stock > 0) { + if($product->variant->stock > 0 && $product->variant->status != 1) { ?>
-- libgit2 0.21.4