as $cid => $arStores): ?>
                  
                  
                          <div class="bx_storege store-amount-container"
                  
                  
                               id="color_<?= $cid; ?>"<?= ($cid == $arParams['CHOOSED']) ? '' : ' style="display: none;"'; ?>>
                  
                  
                              <hr>
                  
                  
                              <ul class="c_store_amount">
                  
                  
                                  <?php foreach ($arStores as $sid => $arStore):
                  
                  
                                      $arJsParams = array(
                  
                  
                                          'offers' => $arStore['OFFERS']
                  
                  
                                      );
                  
                  
                                      ?>
                  
                  
                                      <li>
                  
                  
                                          <a href="javascript:void(0);"
                  
                  
                                             onclick="app.showModal('/ajax/store-detail.php?store_id=<?= $sid; ?>', <?= CUtil::PhpToJSObject($arJsParams); ?>, this)"><?= $arStore['NAME']; ?></a>
                  
                  
                                          <table class="values-table table table-bordered table-sm w-auto mt-2 mb-0">
                  
                  
                                              <tr>
                  
                  
                                                  <?php foreach ($arStore['VALUES'] as $name => $value): ?>
                  
                  
                                                      <td><?= $name; ?></td>
                  
                  
                                                  <?php endforeach; ?>
                  
                  
                                              </tr>
                  
                  
                                              <tr>
                  
                  
                                                  <td>
                  
                  
                                                      
                  
                  
                  
                  
                  
                                                  <?php foreach ($arStore['VALUES'] as $name => $value): ?>
                  
                  
                                                      <!-- <td><?= ($value > 0) ? '+' : '-'; ?></td> -->
                  
                  
                                                  <?php endforeach; ?>
                  
                  
                                              </tr>
                  
                  
                                          </table>
                  
                  
                                      </li>
                  
                  
                                  <?php endforeach; ?>
                  
                  
                              </ul>
                  
                  
                          </div>
                  
                  
                      <?php endforeach; ?>
                  
                  
                  <?php endif; ?>
                  
                  
                
Судя по этой простыне - кастомный шаблон чего-то. Возьмите компонент catalog.store.amount - примитивный, древний, но работает.
Поставила. Выводит - такого товара не существует. Может это из-за наличия торговых предложений?
Обсуждают сегодня