I’m using WordPress E-Commerce (get shopped) and would like to get a list of items that a user has purchased, just a list of post IDs would be perfect. Is there any way for me to get this?
It must be stored somewhere.. has anyone attempted this before?
Query the table wp_wpsc_purchase_logs, it contains all information about previous purchases.
add this to your themes functions.php:
and add the following lines to the template to show the products e.g. page-.php
This is the global variable , looping through this will get all the info ie products added in cart by user, just do
and you will come to know.