I am trying to use this plugin to offer a list view that uses the description rather than the excerpt. I have found the code that pulls the excerpt:
add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_single_excerpt', 5);
and swapped for:
add_action( 'woocommerce_after_shop_loop_item', 'the_content', 5);
Now this works fine and shows the description for the product, BUT it also shows the description on the default grid view, which I do not want – I only want the description on the list view option.
Many thanks in advance.
- The topic ‘[Plugin: WooCommerce Grid / List toggle] List view to show Description rather than excerpt’ is closed to new replies.