Jump to content


Photo
- - - - -

Табличный вывод каталога с корзиной


  • This topic is locked This topic is locked
11 replies to this topic

#11 CB9TOIIIA

CB9TOIIIA
  • Administrators
  • User rate: 230.6
  • posts: 3680
  • topics: 235

Posted 20 January 2017 - 11:10

Мой тизер:

<?php
defined('_JEXEC') or die('Restricted access');
?>
<tr class="table-row item_<?php echo $item->id;?>">
    <td><?php echo $this->renderPosition('cell1'); ?></td>
    <td><?php echo $this->renderPosition('cell2'); ?></td>
    <td class="numbercat"><?php echo $this->renderPosition('cell3'); ?></td>
    <td class="pricecatw"><?php echo $this->renderPosition('cell4'); ?></td>
    <td class="pricetd"><?php echo $this->renderPosition('cell5'); ?></td>
</tr>

<?php
defined('_JEXEC') or die('Restricted access');
$this->app->jbassets->tablesorter(); // подключение библиотеки для сортировки
if ($vars['count']) : ?>
<table class="jsTableSorter tablesorter zebra">
  <thead>
    <tr>
      <th>Артикул</th>
      <th>Наименование</th>
      <th>Номер по каталогу</th>
      <th>Цена</th>
      <th>Заказ</th>
    </tr>
  </thead>
  <tbody>
    <?php
    foreach ($vars['objects'] as $object) :
      echo $object;
    endforeach;
    ?>
  </tbody>
</table>
<!-- инициализация сортировки -->
<script type="text/javascript">
jQuery(function ($) {
  $('.jsTableSorter').tablesorter({});
});
</script>
<?php endif;

Мне кажется косяк в желтой шестеренке у Вас - где цены.


  • 1

#12 robotwerder

robotwerder
  • Topic Starter
  • JBZoo User (rus)
  • User rate: 0
  • posts: 163
  • topics: 52

Posted 20 January 2017 - 11:27

пасибо .. просто как всегда невнимателен я

http://screenshot.su...b22a2221b6f.jpg

забыл кнопу добавить ..


  • 0




Click to return to top of page in style!