Not work on template Shoppystore in single product
-
Not work on template Shoppystore 2.5.3 in single product
??product-image.php
<!– Image Slider –>
<div class=”slider product-responsive”>
<?php foreach ( $attachments as $key => $attachment ) { ?>
<div class=”item-img-slider”>
<div class=”images”>
<?php if ($product->is_on_sale()) : ?><?php echo apply_filters(‘woocommerce_sale_flash’, ‘<span class=”onsale”>’.esc_html__( ‘Sale!’, ‘shoppystore’ ).'</span>’, $post, $product); ?>
<?php endif; ?>
” data-rel=”prettyPhoto[product-gallery]” class=”zoom”><?php echo wp_get_attachment_image( $attachment, ‘shop_single’ ); ?>
</div>
</div>
<?php } ?>
</div>Please help me fix the code. What is wrong with <?php echo wp_get_attachment_image( $attachment, ‘shop_single’ ); ?>
- The topic ‘Not work on template Shoppystore in single product’ is closed to new replies.