smoothtire
Count SaleItems sold by Product ID
Hello, I have a Sales Resource with (hasMany) SaleItems Resource which selects a product to sell from the Product table. I'm looking to have a column in my Product table that sums all the related product sales to give a Sold total.
I've read through the docs and finding this particular issue to be a little tricky. Any help is appreciated!
13 replies