[Skip to main content](#vessel-content)

#   Thumbnails slider for product page BUG

##

- **[oxido](/forum/user/29793-oxido "View oxido's Profile")**
- [![oxido's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29793-oxido "View oxido's Profile") Topic Author
- [ Offline](/forum/user/29793-oxido)

Less More

- Posts: 282
- Thank you received: 42
-
-

5 years 4 months ago -  5 years 4 months ago [\#333987](#333987) by [oxido](/forum/user/29793-oxido "View oxido's Profile")  *[Thumbnails slider for product page BUG](/forum/43-carousel-slider/902874-thumbnails-slider-for-product-page-bug#333987 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Hi guys, I have found some bugs relating the &quot;Thumbnails slider&quot; from the product page.  1) Because now we have this great feature ( I really love this ), that allow us to edit mutch easier the views, when I delete the thumbnails block, the arrows from the product page is not working any more, it act's like there is just 1 image for the product. Thumbnails block deleted: The slider from Product page don't slide between images after thumbnail block is removed from the view builder:  2) This may be just a problem for me, because of the template I use. In Hikashop &gt; Views, if I move the &quot;Thumbnails&quot; block above the &quot;Main Image&quot; block, I get 3 lines with errors in front-end for each image of that product. So if I have 2 images for the product, I will se 6 rows with this next Notice.  3) And for me, I was forced to add z-index:1 in the css for this class &quot;.hikashop&#95;slide&#95;prev&quot; to bring the left arrow from slider in front of the image.")* was created by *[oxido](/forum/user/29793-oxido "View oxido's Profile")*

-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.9.27

Hi guys,
I have found some bugs relating the "Thumbnails slider" from the product page.

**1)** Because now we have this great feature ( I really love this ), that allow us to edit mutch easier the views, when I delete the thumbnails block, the arrows from the product page is not working any more, it act's like there is just 1 image for the product.
Thumbnails block deleted:  [ ![thumbs&#95;deleted.jpeg](/forum/attachment/53142) ](/forum/attachment/53142 "...s&#95;deleted.jpeg")

The slider from Product page don't slide between images after thumbnail block is removed from the view builder:  [ ![product&#95;page&#95;slider.jpeg](/forum/attachment/53143) ](/forum/attachment/53143 "...ge&#95;slider.jpeg")

**2)** This may be just a problem for me, because of the template I use.
In Hikashop &gt; Views, if I move the "Thumbnails" block above the "Main Image" block, I get 3 lines with errors in front-end for each image of that product. So if I have 2 images for the product, I will se 6 rows with this next Notice.
[ ![thumbs&#95;placed&#95;on&#95;top.jpeg](/forum/attachment/53144) ](/forum/attachment/53144 "...ed&#95;on&#95;top.jpeg")

Code:

Notice: Undefined variable: width in /home/viatasis/j3hs.viatasisanatate.ro/templates/g5_hydrogen/html/com_hikashop/product/show_block_img.php on line 37 Notice: Undefined variable: height in /home/viatasis/j3hs.viatasisanatate.ro/templates/g5_hydrogen/html/com_hikashop/product/show_block_img.php on line 37 Notice: Undefined variable: image_options in /home/viatasis/j3hs.viatasisanatate.ro/templates/g5_hydrogen/html/com_hikashop/product/show_block_img.php on line 37

**3)** And for me, I was forced to add z-index:1 in the css for this class ".hikashop_slide_prev" to bring the left arrow from slider in front of the image. Code:

.hikashop_slide_prev{z-index:1}

- [ ![thumbs&#95;deleted.jpeg](/forum/attachment/53142) ](/forum/attachment/53142 "...s&#95;deleted.jpeg") [ ](/forum/attachment/53142?download=1 "...s&#95;deleted.jpeg")
- [ ![product&#95;page&#95;slider.jpeg](/forum/attachment/53143) ](/forum/attachment/53143 "...ge&#95;slider.jpeg") [ ](/forum/attachment/53143?download=1 "...ge&#95;slider.jpeg")
- [ ![thumbs&#95;placed&#95;on&#95;top.jpeg](/forum/attachment/53144) ](/forum/attachment/53144 "...ed&#95;on&#95;top.jpeg") [ ](/forum/attachment/53144?download=1 "...ed&#95;on&#95;top.jpeg")

Last edit: 5 years 4 months ago by [oxido](/forum/user/29793-oxido "View oxido's Profile"). Reason: I have added info about css that need to be added to fix the left arrow for slider in the product page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQzLWNhcm91c2VsLXNsaWRlci85MDI4NzQtdGh1bWJuYWlscy1zbGlkZXItZm9yLXByb2R1Y3QtcGFnZS1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

5 years 4 months ago -  5 years 4 months ago [\#333988](#333988) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Thumbnails slider for product page BUG](/forum/43-carousel-slider/902874-thumbnails-slider-for-product-page-bug#333988 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Hi guys, I have found some bugs relating the &quot;Thumbnails slider&quot; from the product page.  1) Because now we have this great feature ( I really love this ), that allow us to edit mutch easier the views, when I delete the thumbnails block, the arrows from the product page is not working any more, it act's like there is just 1 image for the product. Thumbnails block deleted: The slider from Product page don't slide between images after thumbnail block is removed from the view builder:  2) This may be just a problem for me, because of the template I use. In Hikashop &gt; Views, if I move the &quot;Thumbnails&quot; block above the &quot;Main Image&quot; block, I get 3 lines with errors in front-end for each image of that product. So if I have 2 images for the product, I will se 6 rows with this next Notice.  3) And for me, I was forced to add z-index:1 in the css for this class &quot;.hikashop&#95;slide&#95;prev&quot; to bring the left arrow from slider in front of the image.")*

Hello,

**1.** By design the swipe image system **needs to have thumbnail images** as this feature relies on them to "*map*" the current main image relative to the list of available images (from thumbnails).
But this presence is **only necessary in the Html code**, so there is no need to display them, so why not use **css commands to hide** the thumbnails?
**Ex :**Code:

.your-thumbnail_image_containers { display: none; }

I can imagine that completely removing the thumbnails would be cleaner but here it is the only possible solution.

**Note :** Have a look on this **[ documentation](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom)** to learn how to add custom css command.

**2.** From your error message, it seems so far that the root issue is on the template side, from this as it's juste "notice error" :
**=&gt;** You contact the template provider **support**
**=&gt;** You switch off **Joomla Debug** as it seems that this kind of error won't be an issue for your website functioning.

**3.** A little like previous, it's possible that this need to add the "***z-index***" is linked to your template, anyway thank you for your returns.

And we hope that these answer will help you.
Regards

Regards

Last edit: 5 years 4 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

The following user(s) said Thank You: [oxido](/forum/user/29793-oxido "View oxido's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQzLWNhcm91c2VsLXNsaWRlci85MDI4NzQtdGh1bWJuYWlscy1zbGlkZXItZm9yLXByb2R1Y3QtcGFnZS1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.077 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
