Thank you dear nicolas
i can echo option part images in product page by this code:
foreach($this->element->options as $optionElement){
$image_options = array('default' => true);
$height = $this->config->get('product_image_y');
$width = $this->config->get('product_image_x');
$product_id = $optionElement->product_id;
$producturl = JRoute::_("index.php?option=com_hikashop&ctrl=product&task=show&cid=$product_id");
foreach($optionElement->images as $img){
$imgs = $this->image->getThumbnail(@$img->file_path, array('width' =>$width, 'height' => $height), $image_options);
echo '<img src="'.$imgs->url.'" />';
}
it's php foreach loop now i want show each option product image with product name.
this code echo option product name outside my php foreach loop:
$html='<span class="hikashop_option_name" >'.$optionInfo->product_name.$options.'</span></td><td>'.$html
thank you