- Posts: 1
- Thank you received: 0
Change display options for products inside article
14 years 1 month ago #67222
by luigifico
Change display options for products inside article was created 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
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.
Less
More
- Posts: 12953
- Thank you received: 1778
14 years 1 month ago - 14 years 1 month ago #67259
by Mohamed Thelji
Replied by Mohamed Thelji on topic Re: Change display options for products inside article
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 :
by
We planned to make it an option for next Hikashop releases
.
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);
}
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