apply changes from feedback
This commit is contained in:
parent
84d6d6c525
commit
e49527cf9d
|
@ -1481,8 +1481,7 @@ if ( ! function_exists( 'woocommerce_show_product_images' ) ) {
|
|||
$post_thumbnail_id = array_shift( $gallery_image_ids );
|
||||
}
|
||||
}
|
||||
$args = compact( 'post_thumbnail_id', 'gallery_image_ids' );
|
||||
wc_get_template( 'single-product/product-image.php', $args );
|
||||
wc_get_template( 'single-product/product-thumbnails.php', array( 'post_thumbnail_id' => $post_thumbnail_id ) );
|
||||
}
|
||||
}
|
||||
if ( ! function_exists( 'woocommerce_show_product_thumbnails' ) ) {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*
|
||||
* @see https://docs.woocommerce.com/document/template-structure/
|
||||
* @package WooCommerce\Templates
|
||||
* @version 4.5.0
|
||||
* @version 4.6.0
|
||||
*/
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*
|
||||
* @see https://docs.woocommerce.com/document/template-structure/
|
||||
* @package WooCommerce\Templates
|
||||
* @version 4.5.0
|
||||
* @version 4.6.0
|
||||
*/
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
|
Loading…
Reference in New Issue