• Resolved mrblade

    (@mrblade)


    in the buddypress user profile page I need to show his products.
    The shortcode is:
    echo do_shortcode ('[wcv_products vendor = "USER HERE"]');
    but I can not call the username in the shortcode.
    I tried with:
    echo do_shortcode('[wcv_products vendor="'.bp_core_get_user_displayname( bp_user_fullname() ).'"]');
    without success.
    Where i wrong? any solutions?
    thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Jamie

    (@digitalchild)

    Hello,

    You need to use the username, not the display name.

    cheers,

    Jamie.

Viewing 1 replies (of 1 total)
  • The topic ‘show bp member products’ is closed to new replies.