Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Khai 71 posts 161 karma points
    Jul 29, 2013 @ 16:33
    Khai
    0

    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. 

  • Merijn van Mourik 58 posts 128 karma points
    Jul 29, 2013 @ 17:11
    Merijn van Mourik
    0

    You could try setting the storepicker on all three nodes. /Merijn

  • Khai 71 posts 161 karma points
    Jul 29, 2013 @ 17:24
    Khai
    0

    I did, didn't help.. readded the property on the document type also didn't help. 

  • Khai 71 posts 161 karma points
    Jul 29, 2013 @ 17:30
    Khai
    1

    Nevermind, silly mistake of me, tried to get price with Sku id instead of umbraco node id!

  • Rune Grønkjær 1371 posts 3102 karma points
    Jul 30, 2013 @ 08:31
    Rune Grønkjær
    0

    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

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Sep 03, 2013 @ 18:47
    Hendy Racher
    0

    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

  • Rune Grønkjær 1371 posts 3102 karma points
    Sep 04, 2013 @ 09:27
    Rune Grønkjær
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft