Skip Navigation

[Resolved] Is it possible to display woocommerce order totals associated with users?

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Beda 5 years, 3 months ago.

Assigned support staff: Beda.

Author
Posts
#388098

I am trying to: create a report (a view) that shows new customers (users who have recently placed their first woocommerce order), along with the amount of their recent order.

I visited this URL:

I expected to see:

Instead, I got:

#388714

WooCommerce provides a function to check if a user has already purchased a Product.

With a elaborated Custom Code you could create a function or ShortCode, that actually returns the Products the user in the Loop has purchased.

With more code, you could check when this happened, and eventually return only the latest (xy) items.

But Toolset does not provide this solution.

It requires advanced Custom Code to create this Application logic, which will not make use of the Toolset API but WooCommerce and WordPress API.

I am afraid, that this is not possible with Toolset, but you require Custom Code.
It seems -unfortunately- that for now you need custom programming work which is beyond the scope of our support.
You could request help from a certified partner:
https://toolset.com/consultant/

You will get the custom assistance you need to get on with your project.

Thank you