WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Customizing content for a single product (1 post)

  1. pearcy
    Member
    Posted 11 months ago #

    Hi,

    I just installed WordPress/WooCommerce and have everything working but can't figure out how adjust the content in my single product template.

    I looked at several posts including these but still can't figure out the process.
    http://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-a-custom-single-product-template?replies=12
    http://codex.wordpress.org/Conditional_Tags

    As a test I added a few <h1> tags to see where new text would show up but still don't know how to format this page (link to sample of what I want the page to look like).

    http://www.ringsidesteakhouseandgrill.com/ringside/single-product-notes.pdf

    The test text (h1 tags) show up above the image and below the image. I don’t know how to make the text show up beside the image and lower the drop down box. (link above includes screenshot of mockup of what I want the page to look like)

    I also looked for the "'content', 'single-product'" file but wasn't able to find it amongst the woocommerce files.

    if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    
    get_header('shop'); ?>
    
    	<?php
    		/**
    		 * woocommerce_before_main_content hook
    		 *
    		 * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
    		 * @hooked woocommerce_breadcrumb - 20
    		 */
    		do_action('woocommerce_before_main_content');
    	?>
    
        <h1>test add content here #1</h1>
    
    		<?php while ( have_posts() ) : the_post(); ?>
    
         <h1>test add content here #2</h1>
    
    <?php woocommerce_get_template_part( 'content', 'single-product' ); ?>
    
        <h1>test add content here #3</h1>         
    
    		<?php endwhile; // end of the loop. ?>
    
    <?php get_footer('shop'); ?>

    Here is a link to PDF that explains visually with a page mockup what I am trying to do.

    http://www.ringsidesteakhouseandgrill.com/ringside/single-product-notes.pdf

    I am new to WordPress so if you could be specific it would be greatly appreciated.

    Cheers,
    Paul

    http://wordpress.org/plugins/woocommerce/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.