The answer depends on the theme you are using. You are using a commercial theme, Flatsome. Questions about commercial themes are not allowed here in the forum. I would therefore ask you to contact the support of the theme: https://themeforest.net/item/flatsome-multipurpose-responsive-woocommerce-theme/5484319
there is no possiblity to do with some custom code that i can enter into function.php
It may be possible, yes. However, since you are using a commercial theme, no one here on the forum can tell you if what you might suggest will really work. The reason is that no one here has this theme and would not buy it just to answer your question. See also: https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products – therefore the support of the theme would be the right contact for your concern.