first of all, sorry about my rusty english.
I'm creating a simple e-commerce using WooCommerce, i have some products that have color variations, and when a button is clicked, the photo changes. The problem is that in mobile devices the user have to scroll up if he wants too see the new loaded photo.
I'm searching for a way that after the user clicks on a class of button a script is fired to automatically do the scroll for the user.
Example: https://lojanew.dogdavez.com.br/produto/bloquinho-da-vez/
https://i.imgur.com/ZTaoicT.png If the user clicks on another option, the page must goes up like this: https://i.imgur.com/fAkhlvO.png