Здравствуйте! Есть список товаров в ubercart, которые выводятся таблицей:
<table class="category-products sticky-enabled">
<thead>
<tr>
<th>Изображение</th>
<th><a href="/" title="сортировать по Название" class="active">Название</a></th>
<th><a href="/" title="сортировать по Цена" class="active">Цена</a></th>
<th nowrap="nowrap">Купить</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>
<a href="/Untitled-1.jpg" title="" class="thickbox" rel="uc_image_1">
<img src="/Untitled-1.jpg" alt="" title="" class="imagecache imagecache-product"/>
</a>
</td>
<td width="100%"><a href=""/>Товар 1</a><br/><p>Описание</p></td>
<td nowrap="nowrap"><span class="uc-price-product uc-price-sell uc-price">1700 Руб</span></td>
<td>
<form action="/" accept-charset="UTF-8" method="post" id="uc-product-add-to-cart-form-14">
<div>
<div class="form-item" id="edit-qty-wrapper">
<label for="edit-qty">Количество: </label>
<input type='button' value='-' onclick='q_minus("edit-qty");'>
<input type="text" maxlength="6" name="qty" id="edit-qty" size="5" value="1" class="form-text" />
<input type='button' value='+' onclick='q_plus("edit-qty");'>
</div>
<input type="submit" name="op" id="edit-submit-14" value="Купить" class="form-submit node-add-to-cart" />
<input type="hidden" name="form_build_id" id="form-ab3760d01bd674f5d5782a6004d18df7" value="form-ab3760d01bd674f5d5782a6004d18df7" />
<input type="hidden" name="form_id" id="edit-uc-product-add-to-cart-form-14" value="uc_product_add_to_cart_form_14" />
</div>
</form>
</td>
</tr>
<tr class="even">...Товар 2</tr>
</tbody>
</table>
<thead>
<tr>
<th>Изображение</th>
<th><a href="/" title="сортировать по Название" class="active">Название</a></th>
<th><a href="/" title="сортировать по Цена" class="active">Цена</a></th>
<th nowrap="nowrap">Купить</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>
<a href="/Untitled-1.jpg" title="" class="thickbox" rel="uc_image_1">
<img src="/Untitled-1.jpg" alt="" title="" class="imagecache imagecache-product"/>
</a>
</td>
<td width="100%"><a href=""/>Товар 1</a><br/><p>Описание</p></td>
<td nowrap="nowrap"><span class="uc-price-product uc-price-sell uc-price">1700 Руб</span></td>
<td>
<form action="/" accept-charset="UTF-8" method="post" id="uc-product-add-to-cart-form-14">
<div>
<div class="form-item" id="edit-qty-wrapper">
<label for="edit-qty">Количество: </label>
<input type='button' value='-' onclick='q_minus("edit-qty");'>
<input type="text" maxlength="6" name="qty" id="edit-qty" size="5" value="1" class="form-text" />
<input type='button' value='+' onclick='q_plus("edit-qty");'>
</div>
<input type="submit" name="op" id="edit-submit-14" value="Купить" class="form-submit node-add-to-cart" />
<input type="hidden" name="form_build_id" id="form-ab3760d01bd674f5d5782a6004d18df7" value="form-ab3760d01bd674f5d5782a6004d18df7" />
<input type="hidden" name="form_id" id="edit-uc-product-add-to-cart-form-14" value="uc_product_add_to_cart_form_14" />
</div>
</form>
</td>
</tr>
<tr class="even">...Товар 2</tr>
</tbody>
</table>
Нужен вместо таблицы вывод дивами(div), собственно в каком файле описана данная таблица?
Пример:
Комментарии
Список товаров удобнее всего выводить с помощью View, в котором можно указать любой вид вывода данных: таблица, список, grid и т.д.
А сам View можно темизовать, убрав из вывода всё лишнее