Ready to get started?Download WordPress


WP eCommerce
Check if user has bought product (1 post)

  1. elsnare
    Posted 10 months ago #

    What do I neeed:
    A way to check if user has bought a given product to display an additional content element if true. Basicly selling acess to a video that can be acessed only when the order process is completed

    What I have tried to do:
    I found this code here
    But had no luck making it work.

    $bought_product returns nothing, so a check cannot be preformed.

    The function code goes to functions.php in the theme folder, right?
    Any help would be greatly appreciated.



You must log in to post.

About this Plugin

About this Topic