вопрос как добавить картинку товаров панеле ОФОРМЛЕНИЕ ЗАКАЗА (/cart/checkout)
такая тема на форуме есть, но вопрос там не решен:(
кнопочек которые добавляют эту функцию я не нашел....если кто то нашел эту кнопку прошу скрин в студию.
по сути... описание вывода данной панели происходит в файле uc_cart_checkout_pane модуля uc_cart
$items = $variables['items'];
$show_subtotal = $variables['show_subtotal'];
$subtotal = 0;
// Set up table header.
$header = array(
array('data' => theme('uc_qty_label'), 'class' => array('qty')),
array('data' => t('Products'), 'class' => array('products')),
array('data' => t('Price'), 'class' => array('price')),
);
// Set up table rows.
$display_items = uc_order_product_view_multiple($items);
if (!empty($display_items['uc_order_product'])) {
foreach (element_children($display_items['uc_order_product']) as $key) {
$display_item = $display_items['uc_order_product'][$key];
$subtotal += $display_item['total']['#price'];
$rows[] = array(
array('data' => $display_item['qty'], 'class' => array('qty')),
array('data' => $display_item['product'], 'class' => array('products')),
array('data' => $display_item['total'], 'class' => array('price')),
);
}
}
// Add the subtotal as the final row.
if ($show_subtotal) {
$rows[] = array(
'data' => array(
// One cell
array(
'data' => array(
'#theme' => 'uc_price',
'#prefix' => '<span id="subtotal-title">' . t('Subtotal:') . '</span> ',
'#price' => $subtotal,
),
// Cell attributes
'colspan' => 3,
'class' => array('subtotal'),
),
),
// Row attributes
'class' => array('subtotal'),
);
}
return theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => array('class' => array('cart-review'))));
}
эта часть кода отвечает за вывод таблицы...и нужные поля и классы можно добавить, подскажите как добавить ссылку на картинку товара???
Комментарии
почему тишина?
Аналогичный вопрос для D6 и Ubercart 2. Застрял на этом же моменте.