Skip to main content

Image popup on product listing page

More
11 years 11 months ago #178462 by Burov
-- HikaShop version -- : 2.3.4

Good day,

in my shop I don't need the product pages, only product listing pages
how to make the popup of the big product image by clicking thubnail on product listing pages ? (like on product pages it is)

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

More
11 years 10 months ago #178478 by Jerome
Hi,

It require some customization of the product listing in order to add the image popup.
www.hikashop.com/support/support/documen...ize-the-display.html

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

More
11 years 10 months ago #178616 by Burov

Jerome wrote: Hi,

It require some customization of the product listing in order to add the image popup.
www.hikashop.com/support/support/documen...ize-the-display.html

Regards,


I know, It require some customization of the product listing, but I don't know what customization, what write on product listing template
the code of image show on the product page is differs from a code of image show on the products listing page, and I don't understand :-)
where take the big picture path for product thumbnailed on product listing, etc.

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

More
11 years 10 months ago #178624 by Xavier
Hi,

You need to replace:
Code:
<a href="<?php echo $link;?>" title="<?php echo $this->escape($this->row->product_name); ?>">
By:
Code:
<a title="" onclick="SqueezeBox.fromElement(this,{parse:'rel'});return false;" href="<?php echo $this->image->getPath(@$this->row->file_path); ?>" rel="{handler:'image'}" target="_blank">

In the view "product / listing_img_title" (or another one if you are using another one).

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

More
11 years 10 months ago #178877 by Burov

Xavier wrote: Hi,

You need to replace:

Code:
<a href="<?php echo $link;?>" title="<?php echo $this->escape($this->row->product_name); ?>">
By:
Code:
<a title="" onclick="SqueezeBox.fromElement(this,{parse:'rel'});return false;" href="<?php echo $this->image->getPath(@$this->row->file_path); ?>" rel="{handler:'image'}" target="_blank">

In the view "product / listing_img_title" (or another one if you are using another one).


Very Thanks, It working :)

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

More
11 years 5 months ago - 11 years 5 months ago #198924 by emicoma2
Does not work for me
it seems like a javascript issue, any idea would be welcome
no link and no popup..
Last edit: 11 years 5 months ago by emicoma2. Reason: precision

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

More
11 years 5 months ago #198944 by Xavier
Hi,

Are you sure that you are editing the correct view in the correct template ?
You are maybe using the view "listing_img_desc" and not "listing_img_title", please check the settings of your product listing menu/module.

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

More
11 years 5 months ago #199045 by emicoma2
no I am editing the right file
problem is with class 'hikashop_product_image'
if i delete it, link to popup is ok
might be a cutomization from my template ?

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

More
11 years 5 months ago #199102 by nicolas
Hi,

It might yes because I don't see why removing that class would change anything for the popup.

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

Time to create page: 0.222 seconds
Powered by Kunena Forum