How to increase thumbnails counts in product page, by default it shows 3.
-
I have reduced the size for thumbnails, will share the URL below, please go through.
Can we increase the thumbnails count to 4 or 5.
Hello,
Try to add the following PHP code snippet to the child theme functions.php file to do this.
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' => 4,
'tablet_landscape' => 3,
'tablet' => 4,
'mobile' => 3,
'vertical_items' => 3,
),
),
);
}
);
Regards.
Xtemos Studios
I Have added the code, but it’s not working.
Hello,
It seems that you are not adding the code correctly.
Please make sure that you are adding the code in the code in the functions.php of the Child theme and the child theme is activated.
If you need help then provide the admin panel and ftp details of the website.
Regards.
Xtemos Studios
I have already provided credentials please check.
Hello,
I have visited your website and 5 thumbnails are displayed on the product page.
Screenshot for Clarification: https://gyazo.com/6541285b4579272a790e4bf2923d7726
Does it seem that you have managed to fix the issue yourself? If yes then allow me to close the topic.
Regards.
Xtemos Studios
Most Welcome!!!
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.
Topic Closed.
Best Regards.
The topic ‘How to increase thumbnails counts in product page, by default it shows 3.’ is closed to new replies.