This already looks good, but the desired content starts just below the window and not above. Do you know what I mean?
You have to scroll down until the sorting is at the top of the window.
Ohh, Yes!
Thank you very much!
Thank you for the feedback.
I am now already one step further. Unfortunately, it still does not work properly.
I have added these lines to my function.php so that the variant images are displayed in the appropriate place.
add_shortcode( 'avs_product_gallery_hook', 'avs_product_gallery_hook_callback' );
function avs_product_gallery_hook_callback( $atts ) {
ob_start();
woocommerce_show_product_images();
$content = ob_get_clean();
return $content;
}
But when I select a variant, the corresponding image is not replaced in the gallery, but is displayed under the select field.
Can you help me further?