The model doesn't have a store id associated with it - remember to add the Tea Commerce store picker to your Umbraco content tree
So I keep getting this error, I've setup my content tree differently than the teacommerce starterkit, but I don't know if that is the cause. This is my tree:
Content:
- Home (NL)
- Home (GER)
- Home (US)
I've added the storepicker with the alias "store" on the home root node.
Hi, out of interest why the necessity to add a Tea Commerce: Store Picker with alias 'store' within the heirarachy of the current node when it's supplied in the API call ?
The "store" property is used by the JavaScript API on the serverside and the HTMl API. And it is also used for security purposes to keep stores separated. You cannot add products from one store to the cart of another store.
The model doesn't have a store id associated with it - remember to add the Tea Commerce store picker to your Umbraco content tree
So I keep getting this error, I've setup my content tree differently than the teacommerce starterkit, but I don't know if that is the cause. This is my tree:
Content:
- Home (NL)
- Home (GER)
- Home (US)
I've added the storepicker with the alias "store" on the home root node.
You could try setting the storepicker on all three nodes. /Merijn
I did, didn't help.. readded the property on the document type also didn't help.
Nevermind, silly mistake of me, tried to get price with Sku id instead of umbraco node id!
Nice one. I have done that same mistake once :)
Please mark your own answer, so people can see that the question have been answered.
/Rune
Hi, out of interest why the necessity to add a Tea Commerce: Store Picker with alias 'store' within the heirarachy of the current node when it's supplied in the API call ?
Thanks,
Hendy
The "store" property is used by the JavaScript API on the serverside and the HTMl API. And it is also used for security purposes to keep stores separated. You cannot add products from one store to the cart of another store.
/Rune
is working on a reply...