Fix for image popout and recently viewed products

  • Impression eStudio
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 3 months ago #134072 by Impression eStudio
Fix for image popout and recently viewed products was created by Impression eStudio
Hi,

There is problem when using the image popout in the product's detail page and at the same time the module for recently viewed products is enabled in the same page.
In this case, when clicking the main image to make it popup, the popup window tries to show images from the module of the recently viewed products.
This is wrong.
So in order to fix it we need to go to the file "components\com_eshop\themes\default\views\product\default.php" and change the line 101 with code:
$(".product-image").colorbox({
to:
$("#eshop-main-container .product-image").colorbox({

It would be nice to add this or any better fix to the next release.

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

Moderators: Giang Dinh Truong