Change display options for products inside article

  • Posts: 1
  • Thank you received: 0
12 years 1 month ago #67222

Hi Guys.

I'm adding products to an article in my site using the plugin. How can I change the display options for the products to display in 3 columns (default is 1 column) and make the product thumbnail bigger???

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
12 years 1 month ago #67259

Hi,

We set the default product thumbnail's size to 100x100 but you can change it through the file "'YourHikashop'\plugins\system\hikashopproductinsert\hikashopproductinsert_view.php" by changing the lines :

if(!empty($product->images)){
						$image =reset($product->images);
						echo $this->image->display(@$image->file_path,false,$this->escape(@$image->file_name), '' , '' , 100,  100);
					}
by
if(!empty($product->images)){
						$image =reset($product->images);
						echo $this->image->display(@$image->file_path,false,$this->escape(@$image->file_name), '' , '' , YOURWIDTH,  YOURHEIGHT);
					}

We planned to make it an option for next Hikashop releases :).

Last edit: 12 years 1 month ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum