Shopify Code Help
Shopify Code Help
Out of context: Reply #8
- Started
- Last post
- 8 Responses
- Nairn0
Ok, I need to clarify.
What I'd like is to be able to check 'last months overall sales' *, pull that through to the homepage, then have some javascript there do something with that value.
So, say I have a site with 100 products, each of which have 50 units - I'm not interested in individual sales or stock rates - what I want is for the homepage to know what some overall sales value is. So, 30 products sold an average of 15 units each, for 450.
I then do something with that 450 value.
-
* ok, that could be anything. I picked that as an example as if it's at all possible to do just this, then it should be possible to pull out other values too.