Support » Plugins » Woocommerce Store Page Design

  • Resolved helpanoobout


    Hi, I am new to wordpress and am trying to get started an ecommerce site. I have installed woocommerce 2.1.6 and am having a bit of difficulty editing the code so that on the store page (archive-product.php), the products are arranged correctly. What I want is for the product image to show up on the left side of the screen and then in-line to the right will be the product name, short description, price and add to cart button.

    The problem is that I don’t know how to break out the command to print just the product picture, just the product title, just the product description, the product price and the add to cart button. Here’s the snippit I currently have in the archive-product.php:

    <?php woocommerce_product_loop_start(); ?>
    <?php woocommerce_product_subcategories(); ?>
    <?php while ( have_posts() ) : the_post(); ?>
        <?php wc_get_template_part( 'content', 'product' ); ?>
        <?php echo apply_filters( 'woocommerce_short_description', $post->post_excerpt )?>
        <?php endwhile; // end of the loop. ?>
    <?php woocommerce_product_loop_end(); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce Store Page Design’ is closed to new replies.