• Hi,

    RE: How to add more short description on WooCommerce single product page

    Sorry i’m another ‘not a programmer’.
    In WooCommerce single product page, there’s short
    description next to the big product image.

    I just would like to ask if anyone know how to
    add more than 1 ‘short description’ like section next to the product image.

    The intention is to add a size guide chart text/img before variations
    and ‘add to cart’ button.

    Thank you.

    https://ww.wp.xz.cn/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • find file in your theme folder/woocommerce/single-product/short-description.php
    if you cannot find it go to wp-content/plugins and copy this file from woocommerce/templates/single-product/short-description.php
    Create a new folder in your themes directory woocommerce
    create in this folder the singe-product folder and paste the file into it
    open it
    enter below
    <?php echo apply_filters( 'woocommerce_short_description', $post->post_excerpt ) ?>
    the new section:

    <div class="size_guide">
        	 <a rel="lightbox" href="your path to file"><?php _e('SIZE GUIDE', woocommerce); ?></a>
            </div>
     <hr />

    This would open in a lightbox.
    Otherwise you just put your html there or the image url if you use a graph.
    You can also use an image instead of the anchor text: SIZE GUIDE
    In your stylesheet add the CSS class and align it how you like it.
    Good luck

Viewing 1 replies (of 1 total)

The topic ‘WooCommerce – multiple short description’ is closed to new replies.