Title: WooCommerce Loop Integration
Last modified: August 21, 2016

---

# WooCommerce Loop Integration

 *  Resolved [JohnBuchanan](https://wordpress.org/support/users/johnbuchanan/)
 * (@johnbuchanan)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/woocommerce-loop-integration/)
 * Theme- Just Write
 * I found the documentation for <?php if ( have_posts() ) : <?php endif; ?>
 * Replace with
    <?php woocommerce_content(); ?>
 * This theme does not include php if and end. The page.php code is as shown below-
 * <?php
    /* ————————————————————————- * * Normal page template /* ————————————————————————-*/
 * get_header(); ?>
 * <section class=”container<?php ac_mini_disabled() ?> clearfix”>
 *  <?php get_template_part( ‘page-templates/template’, ‘page’ ); ?>
 * </section><!– END .container –>
 * <?php get_footer(); ?>
 * Where can I find <?php if ( have_posts() ) : <?php endif; ?>. Will it be located
   in a template? I did not want to mess around to much as I am not proficient in
   php.
 * Sincerely,
    John Buchanan Buchanancomputer.com

Viewing 1 replies (of 1 total)

 *  Theme Author [acosmin](https://wordpress.org/support/users/acosmin/)
 * (@acosmin)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/woocommerce-loop-integration/#post-4966539)
 * Maybe look for it in `../page-templates/template-page.php`

Viewing 1 replies (of 1 total)

The topic ‘WooCommerce Loop Integration’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/justwrite/2.0.3.6/screenshot.png)
 * JustWrite
 * [Support Threads](https://wordpress.org/support/theme/justwrite/)
 * [Active Topics](https://wordpress.org/support/theme/justwrite/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/justwrite/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/justwrite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [acosmin](https://wordpress.org/support/users/acosmin/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/woocommerce-loop-integration/#post-4966539)
 * Status: resolved