Since CommerceKit 2.2.3, you can now change the number of thumbnails visible within the CommerceKit Product Gallery.
Simply add the following function to your child theme’s functions.php file, or via the Code Snippets plugin.
The default number of thumbnails displayed is 4 – this code will change it to 5.
1 2 3 4 |
function shoptimizer_child_pdp_gallery_thumbnails( $count ){ return 5; } add_filter( 'commercekit_product_gallery_thumbnails', 'shoptimizer_child_pdp_gallery_thumbnails', 10, 1 ); |