Joomla.it Forum

Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => : rossosat 10 Jun 2009, 18:59:56

: [Virtuemart Checkout] Customize basket_b2c.html.php
: rossosat 10 Jun 2009, 18:59:56
<table width="100%" cellspacing="2" cellpadding="4" border="0">
  <tr align="left" class="sectiontableheader">
           <th><?php echo $VM_LANG->_('PHPSHOP_CART_NAME') ?></th>
        <th><?php echo $VM_LANG->_('PHPSHOP_CART_SKU') ?></th>
   <th><?php echo $VM_LANG->_('PHPSHOP_CART_PRICE') ?></th>
   <th><?php echo $VM_LANG->_('PHPSHOP_CART_QUANTITY') ?> / <?php echo $VM_LANG->_('PHPSHOP_CART_ACTION') ?></th>
   <th><?php echo $VM_LANG->_('PHPSHOP_CART_SUBTOTAL') ?></th>
  </tr>
<?php foreach( $product_rows as $product ) { ?>
  <tr valign="top" class="<?php echo $product['row_color'] ?>"> 
   <td><?php echo $product['product_name'] . $product['product_attributes'] ?></td>
   <td><?php echo $product['product_sku'] ?></td>   <td align="right"><?php echo $product['product_price'] ?></td>
   <td><?php echo $product['update_form'] ?>
      <?php echo $product['delete_form'] ?>
   </td>
    <td align="right"><?php echo $product['subtotal'] ?></td>
  </tr>
<?php } ?>

al posto del codice dell'articolo devo visualizzare una thumb del prodotto.

Che devo utilizzare "ps_product::image_tag" ? devo rifare una query nel database? ci sarà un metodo, una funzione che tira fuori un link che posso utilizzare in una variabile di un img src...non sò aiutatemi :(  ???