' ) ) { $attachment_ids = $product->get_gallery_image_ids(); } else { $attachment_ids = $product->get_gallery_attachment_ids(); } if ( $attachment_ids ) { ?>
post_content; $attributes = array( 'title' => $image_title, 'data-large-image' => $full_size_image[0], 'data-large-image-width' => $full_size_image[1], 'data-large-image-height' => $full_size_image[2], ); $html = ''; echo apply_filters( 'woocommerce_single_product_image_thumbnail_html', $html, $attachment_id ); $classes = array( 'zoom' ); } ?>