Author Topic: HELP! Extra column on order list w. product attributes or (and) product image.  (Read 2793 times)


  • Beginner
  • *
  • Posts: 8
Did somebody do new column into a  back-end order list with product attributes or (and) product image?
Maby somebody help me how can i do a query from database who can show this attributes and product image thumbnail?

This code show attributes all list, how can i show only one record from one product? I'm not a coder
file: administrator/components/com_virtuemart/views/orders/tmpl/orders.php
Code: [Select]
$db = JFactory::getDBO();
$query = 'SELECT * FROM #__virtuemart_order_items'; 
$list = $db->loadObjectList();
foreach ($list as $item) {
//$item_title = $item->title;
//echo $item_title.'<br />';

if (!empty($item->product_attribute)) {
$product_attribute = VirtueMartModelCustomfields::CustomsFieldOrderDisplay($item,'FE');
echo '<div id="dostarczenie">';
echo $product_attribute;
echo '</div>';


Thx for help.