title: Activate Woocommerce image gallery features on shop archive page
body: <p>I'm trying to build a Woocommerce shop with all products listed with full product information (excerpts, pictures, title, price,  etc.) on the shop archive page. No product detail pages.</p>
  
  <p>I have loaded the simple-page content instead of page-content in the loop of my custom archive-product.php in my theme/woocommerce folder.</p>
  
  <p>My problem is, that the product image gallery features (zoom, lightbox, slider) don't work on the archive page, only on single-product-page. </p>
  
  <p>How can I unlock the gallery features for the shop and category archive pages? </p>
  
  <p>I think, that wordpress or woocommerce somehow deactivated certain javascript or php functions for the gallery features on this page. But I couldn't figure out where to make changes in order to bring them back in.</p>
  
  <p>Here is the code I use for the loop in my moded archive-product.php. I simply changed 'product' to 'single-product' in order to load the full product content: </p>
  
  <pre><code>&lt;?php while ( have_posts() ) : the_post(); ?&gt;
  
      &lt;?php
          /**
          * woocommerce_shop_loop hook.
          *
          * @hooked WC_Structured_Data::generate_product_data() - 10
          */
      do_action( 'woocommerce_shop_loop' );
      ?&gt;
  
      &lt;!-- This part of the template has been moded for the product archive page to show the complete content of the single product page --&gt;
  
      &lt;?php wc_get_template_part( 'content', 'single-product' ); ?&gt;
  
  &lt;?php endwhile; // end of the loop. ?&gt;
  </code></pre>