- Posts: 198
- Thank you received: 4
All images in products listing page
14 years 5 months ago #47570
by arnask
All images in products listing page was created by arnask
i need to show all images in products listing or categories listing page. Just like in product page where you see main picture and all other pictures below.
Please Log in or Create an account to join the conversation.
14 years 5 months ago - 14 years 5 months ago #47583
by Xavier
Replied by Xavier on topic Re: All images in products listing page
Hi arnask,
You can edit a listing view, in HikaShop > Display > Views, for example the view: "Product / listing_img.php".
And instead of:
Put the code to show many pictures, try to use the "show_block_img" Layout in the view "Product / show.php":
You can edit a listing view, in HikaShop > Display > Views, for example the view: "Product / listing_img.php".
And instead of:
Code:
echo $this->image->display(@$this->row->file_path,false,$this->escape($this->row->file_name), '' , '' , $this->image->main_thumbnail_x, $this->image->main_thumbnail_y);
Code:
$this->row = & $this->element;
$this->setLayout('show_block_img');
echo $this->loadTemplate();
Last edit: 14 years 5 months ago by Xavier.
Please Log in or Create an account to join the conversation.
14 years 5 months ago #47586
by arnask
Replied by arnask on topic Re: All images in products listing page
what do you mean by "try to use the "show_block_img" Layout in the view "Product / show.php"
where ant what should i change?
where ant what should i change?
Please Log in or Create an account to join the conversation.
14 years 5 months ago #47656
by nicolas
Replied by nicolas on topic Re: All images in products listing page
That's not possible.
Only the main image is loaded for each products on the listing of products in order to preserve resources.
Only the main image is loaded for each products on the listing of products in order to preserve resources.
Please Log in or Create an account to join the conversation.
Time to create page: 0.205 seconds