Home Forums WoodMart – Premium Template Increase thumbnail image number

This topic contains 5 replies, has 2 voices, and was last updated by  critoyact 5 hours, 36 minutes ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #345461

    critoyact
    Customer

    Hello!
    On single product page, I need to add more thumbnail images, now there’re 3, I would like to have 6.

    Thanks in advance

    Private Content Hidden
    #345508

    Hello,

    Unfortunately, it is not possible. The image gallery shows 3 images on the left, and 4 images on the bottom, you can add more and they would slide.

    If you have any questions please feel free to contact us.

    Best Regards

    #345613

    critoyact
    Customer

    Hi Elise, thanks for your answer,

    I was looking to get some support on adding some custom code on my child theme’s functions.php as I saw Xtemos’s team did on this tickets:

    https://xtemos.com/forums/topic/increase-the-number-of-product-thumbnails-%d1%83%d0%b2%d0%b5%d0%bb%d0%b8%d1%87%d0%b8%d1%82%d1%8c-%d0%ba%d0%be%d0%bb-%d0%bc%d0%b8%d0%bd%d0%b8%d0%b0%d1%82%d1%8e%d1%80-%d1%82%d0%be%d0%b2%d0%b0%d1%80/

    https://xtemos.com/forums/topic/increase-the-number-of-thumbnail-images-in-a-product-page/

    Unfortunately I’ve already tried them and neighter of this codes worked for me. But Im confident that with a little bit help from you, we can achieve this.

    Can I kindly ask you to check this out? also check the private content.

    Thanks,

    Cristian.

    Private Content Hidden
    • This reply was modified 3 days, 14 hours ago by  critoyact.
    #345856

    Hello,

    Please add this code to the functions.php of the child theme:

    add_filter(
        'woodmart_product_gallery_settings',
        function() {
            return array(
                'images_slider' => woodmart_is_main_product_images_carousel(),
                'thumbs_slider' => array(
                    'enabled'  => woodmart_is_product_thumb_enabled(),
                    'position' => woodmart_get_opt( 'thums_position' ),
                    'items'    => array(
                        'desktop'          => 6,
                        'tablet_landscape' => 3,
                        'tablet'           => 4,
                        'mobile'           => 3,
                        'vertical_items'   => 3,
                    ),
                ),
            );
        }
    );

    If you have any questions please feel free to contact us.

    Best Regards

    • This reply was modified 1 day, 18 hours ago by Elise Noromit Elise Noromit.
    #345858

    P.S. Please take the code from the recent version.

    Best Regards

    #346241

    critoyact
    Customer

    Hi, thanks for your reply and support,

    Unfortunately, it doesn’t seems to work.
    I have added the code on functions.php (child theme)
    but on the single product page, there’s still only 3 thumbnails, instead of 6.

    Thanks for checking it out.

    Private Content Hidden
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.