Home Forums ACF PRO How to calculate total by relational fields?


How to calculate total by relational fields?

  • Hi, I’m making an accounting system with CPT and ACF Pro, I have a post called account balance, and two post types called sales and purchases, this post types have a relational field object post to select which account is linked to the movement. So, I want to calculate the total of the sales, the total of purchases and the result of this two will be used to calculate the current account balance. How can I do that? Could someone help me, I’m a bit lost.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.