Commit 945d3944c3d1ea3ccd62a98c516002d1512c5941

Authored by Karnovsky A
1 parent f145ede4

-

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
frontend/views/catalog/product.php
... ... @@ -100,6 +100,7 @@ $this->registerJs ("
100 100 <div class="begin">Цветовые решения</div>
101 101 <ul class="product_mod">
102 102 <?php foreach ($product->variants as $variant): ?>
  103 + <?php if (!is_null($variant->stock) && empty($variant->stock)) continue;?>
103 104 <li>
104 105 <a id='m<?= $variant->product_variant_id ?>' href="#"
105 106 data-cost="<?= $variant->price ?>"
... ...