Support » Plugin: Product Customer List for WooCommerce » Display list by default on all single product pages

  • Resolved paxton111



    I was wondering if there is a way to display by default (without adding shortcode to each product post) the list of customers for each product on the frontend?


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kokomo


    Hi paxton,

    you should be able to do so by adding a function like this in your functions.php of your theme or child theme. I haven,t tried it but it should work

    add_filter( 'woocommerce_short_description', 'custom_woocommerce_short_description' );
    function custom_woocommerce_short_description( $description ) {
    global $post;
    $description = $description . do_shortcode('[customer_list]') ;
    return $description;
    Thread Starter paxton111


    Thanks for such a quick response! And this works! Amazing! Thanks so much!

    I don’t want to sound needy – but is it possible to display hyperlinks to each of the customer’s author profiles? Say “John Johnson” is on the customer list and by clicking on his name it link to To customer’s author profile?

    Plugin Author Kokomo


    Glad it worked! Don’t forget to rate the plugin 🙂

    Unfortunately it is not currently possible. I have to rework the whole shortcode soon and I’ll keep your suggestion in mind.

    Thread Starter paxton111


    That would be great to have this feature! I will rate it 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display list by default on all single product pages’ is closed to new replies.