Copied to clipboard

Flag this post as spam?

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


  • Pat Hartl 2 posts 22 karma points
    May 27, 2014 @ 21:49
    Pat Hartl
    0

    Store Picker Not Being Recognized (HTTP 500)

    Hey everyone!

    I'm getting the usual "remember to add the Tea Commerce store picker to your Umbraco content tree" 500 HTTP error with TC when I try to use the JS API. I'm not sure what I'm doing wrong, but I'll put my node structure below.

    Home
    -- Products
    -- Product Category 1
    -- Product 1 (Node ID = 6571)
    -- Product 2
    -- Product 3
    -- Product Category 2
    -- Product 4
    -- Product 5

     

    I've tried adding a store picker to Home, Products, and each of the categories but nothing seems to work. The JS I'm using is below:

    TC.addOrUpdateOrderLine({storeId:1, productIdentifier:6571, quantity:1 });

    I've been fighting this for a couple days and it's been driving me pretty nuts :|

  • Anders Burla 2560 posts 8256 karma points
    May 28, 2014 @ 10:40
    Anders Burla
    0

    Which Umbraco version? :)

  • Pat Hartl 2 posts 22 karma points
    May 28, 2014 @ 16:08
    Pat Hartl
    0

    7.1.1

  • Anders Burla 2560 posts 8256 karma points
    May 30, 2014 @ 08:28
    Anders Burla
    0

    Hi Pat

    Could you try and have the store picker at the home node. Then select the store and save the node. Then check in the DB if the store picker value id is saved in the DB. Just to know if the id is ever saved or its a problem with finding the id. Remember the property alias of the store picker MUST be "store".

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft