hi all,
How can I show the quantity field on product listing?
I have try adding the follow code on [code]list_produtcs/product.php[/code]
[code]
<table class="price_prod_qty_list">
<?php foreach($this->product->product_add_prices as $k=>$add_price){?>
<tr>
<td class="qty_from" <?php if ($add_price->product_quantity_finish==0){?>colspan="3"<?php } ?>>
<?php if ($add_price->product_quantity_finish==0) print _JSHOP_FROM?>
<?php print $add_price->product_quantity_start?> <?php print $this->product->product_add_price_unit?>
</td>
<?php if ($add_price->product_quantity_finish > 0){?>
<td class="qty_line"> - </td>
<?php } ?>
<?php if ($add_price->product_quantity_finish > 0){?>
<td class="qty_to">
<?php print $add_price->product_quantity_finish?> <?php print $this->product->product_add_price_unit?>
</td>
<?php } ?>
<td class="qty_price">
<span id="pricelist_from_<?php print $add_price->product_quantity_start?>"><?php print formatprice($add_price->price)?><?php print $add_price->ext_price?></span> <span class="per_piece">/ <?php print $this->product->product_add_price_unit?></span>
</td>
</tr>
<?php }?>
</table>
[/code]
But i get error falid something argument.
How can I fix and add only the quantity field?
Thanks