The product photo gallery does not receive url parameters to change the gallery				
							
			
	
		
		
		
			
			
	
	- 
		
			
				
	
	
		
			
			The product photo gallery does not receive url parameters to change the gallery photo.
 Product with 2 color variations when I click on a color on the store page that is not the main color, when I open the product the photo gallery does not pull the photos of this variation
 
	- 
		This topic was modified 2 years, 4 months ago by  Jonatas. Jonatas.
 Attachments:You must be  logged in to view attached files. 
 
 
 
	
	
		
			
			Hello, I have visited your site and clicked on the black (preto). The photo gallery shows the photos of this variation black.
 Screenshot for clarification:
 https://ibb.co/nPVQ6sM
 Best Regards. 
 
 
 
	
	
		
			
			Hello, Try to add the following PHP code snippet to the child theme functions.php file to fix this add_action( 'woodmart_variation_attributes_on_grid', function ( $count ) {
	global $product;
	return count( $product->get_variation_attributes() );
});
 Kind Regards 
 
 
 
	
	
		
			
			Hello,
 I added the PHP code snippet to the child theme’s functions.php file, but it didn’t work
 
 
 
 
	
	
		
			
			Hello, Your issue has been solved. I have applied patch number 476009 on your site and will solve this issue in the next theme update. Please check your site now after removing the browser cache. Best Regards. 
 
 
 
	
	
		
			
			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 ‘The product photo gallery does not receive url parameters to change the gallery’ is closed to new replies.