Is it possible to pull total sales of a single product into a liquid template?

New Member
4 0 0

I'm trying to create a progress bar of sales on a product compared to a set goal value. Is it possible to pull total sales into the liquid template so I can calculate the percentage of the goal that has been reached?

83 0 25

Hi there,

I may be incorrect but I don't think using just Liquid is possible and perhaps this can't be achieved without using the Order API to gather order data for that product and using the Asset API to post/update that data. I also believe there is an application in the APP store that you can use as a work around. I haven't used it so I can't really vouch for it but there is a trial period that you can test it out on. Crowd Funding Manager