Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #477704

    Hi,

    Can anyone help get me started with editing the layout of the Single Product Page? I am happy with the default layout but simply need a swap a couple of elements..

    Underneath the Product Title is the Product Meta area I want to have a list of categories and a link to download a PDF of the product info. Ihave added the link to the PDF in the “Product Short Description” and have added the WooCommerce Categories widget to the “Single Product Page” area. However, this shows underneath the “Product Short Description”. How can I easily swap these elements?

    If this is not possible, how about adding a new Custom Field via the Product Admin and displaying this underneath the categories? I have added a new Custom Field but this doesn’t display anywhere on the product page.

    So just to clarify, I need some way of adding a custom line of HTML in the Meta area underneath the Product Title and the Categories List.

    Thanks

    • This topic was modified 9 years, 5 months ago by lol4000.
    #477922

    Hi lol4000!

    Try adding this to the bottom of your functions.php file.

    add_action( 'woocommerce_after_single_product_summary', 'enfold_customization_after_product_summary', 1);
    function enfold_customization_after_product_summary() {
         echo 'your html goes here';
    }

    Cheers!
    Elliott

    #480450

    Thats great thanks :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How to reorder and add elements on Single Product Page’ is closed to new replies.