I am looking to implement som basic shopping functionality into an existing Umbraco 6 site. Never worked with Tea Commerce before and not a .NET guy, but I figured; I can code, how hard can it be. Very, it seems :(
I installed TeaCommerce 2.1.3 from the Repository. First I wanted to use the XSLT API, which made sense to me, given that the rest of the site is build on XSLT. Eventually decided on the HTML API though, since I just need a very very simple 1 product shop (Also the XSLT documentation for 2.x is very sparse). And what's simpler then plain HTML forms, right? Well...
According to the documentation on http://documentation.teacommerce.net/html-api/ i need to POST to a file called /base/TC/FormPost.aspx. This is nowhere to be found. I feel like I've searched everywhere for it. Even installed the TC starterkit just to se if that contained it - no luck.It makes absolutely no sense to me. So unless you've documented an entire HTML API which doesnt even exist, I'm guessing that there's something obvious that I'm just not seeing. I'm at a loss. Where the hell is FormPost.aspx (and any other required files to get the HTML api working) ? Please help, thank you :)
The FormPost.aspx isnt a file so that is why you can't find it :) In Umbraco there is a feature that is called /Base or rest extensions. Which is what Tea Commerce uses. See this link for a description of what it is: http://our.umbraco.org/wiki/reference/umbraco-base/simple-base-samples
HTML API. Where is FormPost.aspx ?
I am looking to implement som basic shopping functionality into an existing Umbraco 6 site. Never worked with Tea Commerce before and not a .NET guy, but I figured; I can code, how hard can it be. Very, it seems :(
I installed TeaCommerce 2.1.3 from the Repository. First I wanted to use the XSLT API, which made sense to me, given that the rest of the site is build on XSLT. Eventually decided on the HTML API though, since I just need a very very simple 1 product shop (Also the XSLT documentation for 2.x is very sparse). And what's simpler then plain HTML forms, right? Well...
According to the documentation on http://documentation.teacommerce.net/html-api/ i need to POST to a file called /base/TC/FormPost.aspx. This is nowhere to be found. I feel like I've searched everywhere for it. Even installed the TC starterkit just to se if that contained it - no luck.It makes absolutely no sense to me. So unless you've documented an entire HTML API which doesnt even exist, I'm guessing that there's something obvious that I'm just not seeing. I'm at a loss. Where the hell is FormPost.aspx (and any other required files to get the HTML api working) ? Please help, thank you :)
Hi Tommy - sorry to hear that you have had a rough start!
First - be sure to update to Tea Commerce 2.2 - http://our.umbraco.org/projects/website-utilities/tea-commerce/
The FormPost.aspx isnt a file so that is why you can't find it :)
In Umbraco there is a feature that is called /Base or rest extensions. Which is what Tea Commerce uses.
See this link for a description of what it is: http://our.umbraco.org/wiki/reference/umbraco-base/simple-base-samples
Kind regards
Anders
is working on a reply...