Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm new to WooCommerce and my products are currently being laid out with a thumbnail, product title, and price. Ideally I would like to have them horizontal, with a small excerpt to the right of the image.

Now, can this be done within the WooCommerce interface, or will I have to add functions to the PHP and then style with CSS? I couldn't find anything in the documentation to answer this.

Thanks in advance!

share|improve this question

closed as off-topic by Mark Kaplun, gmazzap, Johannes Pille, birgire, EAMann Aug 22 '14 at 17:07

This question appears to be off-topic. The users who voted to close gave these specific reasons:

If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

This is indeed something that you need to make specific page templates for. Just CSS won't do the trick because you need to add a function to display the excerpt.

you could do something like this:

add_action( 'wp' , 'add_excerpt', 20);

function add_excerpt() {
    if ( is_shop() || is_product_category() || is_product_tag() ) {
        add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_single_excerpt', 5);

which will add the excerpt to the product listings.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.