-- HikaShop version -- : 2.2
-- Joomla version -- : 2.5.22
Hi,
is there any shortcut from product listing list view to have the first image from the product ??
because i wanna make a drop down with the products (already did) and wanna have displayed the first product image next to the selected product.. so far i have:
<select id="model2" name="model2" onchange="ersparnis();">
<?php foreach($this->rows as $row){
$this->row =& $row;?>
<option value="<?php echo $this->row->verbrauchauf100km022kwh;?>"><?php echo $row->product_name;?></option><?php } ?></select>
which does the drop down, once the product is selected it should have the image displayed (coding part i will make..only need the shortcut like "php echo $this->row->firstimage" ??
is there any variable i can call to have this first image ?
array for the foreach loop is also fine to have a better point of view image is attached (it's a calculator based on the custom values & products which are in the shop it calculates via js/php