Skip to main content

Change display options for products inside article

14 years 1 month ago #67222 by luigifico
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.

14 years 1 month ago - 14 years 1 month ago #67259 by Mohamed Thelji
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 :
Code:
if(!empty($product->images)){ $image =reset($product->images); echo $this->image->display(@$image->file_path,false,$this->escape(@$image->file_name), '' , '' , 100, 100); }
by
Code:
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: 14 years 1 month ago by Mohamed Thelji.

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

Time to create page: 0.040 seconds
Powered by Kunena Forum