Image popup on product listing page

  • Posts: 19
  • Thank you received: 2
9 years 5 months ago #178462

-- 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.

  • Posts: 26015
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #178478

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 19
  • Thank you received: 2
9 years 5 months ago #178616

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.

  • Posts: 13201
  • Thank you received: 2322
9 years 5 months ago #178624

Hi,

You need to replace:

<a href="<?php echo $link;?>" title="<?php echo $this->escape($this->row->product_name); ?>">
By:
<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.

  • Posts: 19
  • Thank you received: 2
9 years 5 months ago #178877

Xavier wrote: Hi,

You need to replace:

<a href="<?php echo $link;?>" title="<?php echo $this->escape($this->row->product_name); ?>">
By:
<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.

  • Posts: 2
  • Thank you received: 0
9 years 2 weeks ago #198924

Does not work for me
it seems like a javascript issue, any idea would be welcome
no link and no popup..

Last edit: 9 years 2 weeks ago by emicoma2. Reason: precision

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

  • Posts: 13201
  • Thank you received: 2322
9 years 2 weeks ago #198944

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.

  • Posts: 2
  • Thank you received: 0
9 years 2 weeks ago #199045

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.

  • Posts: 81568
  • Thank you received: 13079
  • MODERATOR
9 years 2 weeks ago #199102

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.092 seconds
Powered by Kunena Forum