Support » Plugin: Easy Digital Downloads - Simple eCommerce for Selling Digital Files » Show customers how much they have spent

  • Resolved tuanbrands

    (@tuanbrands)


    Hi, I see total spent of customer in admin page. So how can show customers how much they have spent on your Easy Digital Downloads store in anywhere I want?
    Thank dev!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Pratik Jain

    (@pratik-jain)

    Hi @tuanbrands

    Yes, you can get the customer total purchases as well as total spent amount. Use the below function

    edd_get_purchase_stats_by_user( $user = '' )

    Just pass the user id as a argument and you will get array of purchases and total_spent as a result.

    Plugin Support Mihai Joldis

    (@misulicus)

    Because there have not been any recent updates to this topic we’ll be changing the status to resolved.
    If you have any further questions you can start a new thread or head over to our support page to submit your request if it is related to one of our available extensions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.