Commit d00e5a552456f3c91f7571847b3ddce7e07a6ea1

Authored by Administrator
1 parent e30831f4

big commti

Showing 1 changed file with 5 additions and 3 deletions   Show diff stats
frontend/views/catalog/product.php
@@ -191,11 +191,13 @@ FlipclockAsset::register($this); @@ -191,11 +191,13 @@ FlipclockAsset::register($this);
191 </tr> 191 </tr>
192 <tr> 192 <tr>
193 <td class="left_count available"> 193 <td class="left_count available">
194 - <?php if($product->variant->stock > 0){?>  
195 - есть в наличии 194 + <?php if($product->variant->status == 1){?>
  195 + снят с производства
  196 + <?php } elseif($product->variant->stock > 0) {?>
  197 + в наличии
196 <?php } else {?> 198 <?php } else {?>
197 под заказ 199 под заказ
198 - <?php }?> 200 + <?php } ?>
199 </td> 201 </td>
200 <td rowspan="2" class="spacer">&nbsp;</td> 202 <td rowspan="2" class="spacer">&nbsp;</td>
201 <td class="right_block" rowspan="2"> 203 <td class="right_block" rowspan="2">