Posts by gfactory

1 post
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
gfactory says


hey i know this is a month old but i’ve come up with a solution…

on your theme/woocommerce/content-product.php file

you’ll see this line:

<div class="img-wrapper<?php if(etheme_get_custom_field('_etheme_hover') && $product_img_hover == 'swap') echo ' hideableHover' ?>"><img class="product_image" src="<?php echo $url[0]; ?>" /></div>

change it for this one:

<div class="img-wrapper<?php if(etheme_get_custom_field('_etheme_hover') && $product_img_hover == 'swap') echo ' hideableHover' ?>"><img class="product_image" src="<?php echo $url[0]; ?>" /> <?php { the_post_thumbnail(); } ?> </div> at least it worked for me, cheers!

Hi there, for you suggested is working for me only product page but when I went inside single product page it still not showing. Do I have to change some more php file ?

Please help me out Thanks

Hello,

I faced with that problem and I found a very simple solution how to display product gallery images . First step is to add/upload images through MEDIA in your wp dashboard. When you added images, click MEDIA button once again and you will see ATTACH from the right side of the image. Then click on the ATTACH button and check the checkbox for desired product. Once you do that, image will show in product gallery. You must repeat all of that for next image and so on and on. I tried this solution on two websites with blanco theme and it works like a charm. Here is a working example http://www.kozne-jakne-moto.rs/shop/klasicna-moto-jakna/ You can try for the featured image on same way. Cheers

by
by
by
by
by
by