Copied to clipboard

Flag this post as spam?

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


  • Kamil Hadas 10 posts 119 karma points
    Aug 29, 2016 @ 07:32
    Kamil Hadas
    0

    Tea Commerce Setup problem

    Hello Guys, Is there any Guide how to setup Tea Commerce in umbraco and create basic stuff like orders, checkout, etc? I know that it is kind of "stupid question" but the best thing that I found in web id "starter kit" and figure out how it work by looking into this project. I've also found a tutorial how to set up everything on author blog but it was for 1 version. Umbraco 7 runs third..

    Best Regards Kamil

  • Anders Burla 2560 posts 8256 karma points
    Aug 31, 2016 @ 06:35
    Anders Burla
    0

    Hi Kamil

    We don't have a how to get started guide as the starter kit is a really good example which is made pretty basic.

    https://github.com/TeaCommerce/Tea-Commerce-for-Umbraco

    I know that this guide is pretty old and uses XSLT but its kind of the same things that you still need to do. The API calls is a bit different and is in Razor instead of XSLT.

    http://anders.burla.dk/umbraco/i-installed-tea-commerce-whats-next/

    https://documentation.teacommerce.net/frontpage/

    Kind regards

    Anders

  • Kamil Hadas 10 posts 119 karma points
    Aug 31, 2016 @ 06:48
    Kamil Hadas
    0

    I solve part of the problems with configuration, but still I have problem witch order lines. Maybe i still missing something in umbraco? So here is what i do:

    I Have declared DKK as a currency, and I have Price property alias set: enter image description here

    In Settings in TeaCommerce section I've added aliases for my columns :

    enter image description here

    I've also created A Doctype with properties (aliases the same as configured) : enter image description here

    I've create 8 products and put it into data container and fill those text fields

    enter image description here

    and after using RazorApi and adding those things to order line my order line is still empty... What I'm Doing Wrong (this number in string it is node id for each product docType)? enter image description here enter image description here

    Any Ideas? Regards Kamil

  • Anders Burla 2560 posts 8256 karma points
    Aug 31, 2016 @ 07:06
    Anders Burla
    100

    You need the store picker added to your webshop so the products know which store they belong to. See the "Home" node in the demo site: https://demo.teacommerce.net/umbraco/#/content/content/edit/1068

  • Anders Burla 2560 posts 8256 karma points
    Aug 31, 2016 @ 07:07
    Anders Burla
    1

    By the way. If you do variants please check how the demo site does that. Its way easier than having loads of sub nodes.

    Kind regards

    Anders

  • Kamil Hadas 10 posts 119 karma points
    Aug 31, 2016 @ 07:40
    Kamil Hadas
    0

    Hello Anders, thank you for your help. It work, but only if I put "store selector" to Website node if I put it only on my product node it doesn't work so it seems that Tea Commerce are looking for this property only on main website tree.

    About Variants, this 8 shirts are the only thing that this "shop" selling so i don’t need it but thanks for advice :)

    Sorry for Kinda "stupid question" but I’m a fresh in e-commerce and umbraco and my boss give me a task to migrate existing shop from Umbraco 4 and Tea Commerce 1 to Umbraco 7 and Tea Commerce 3 and I was kind a lost. Thanks again for your help :)

    Kind Regards Kamil.

  • Anders Burla 2560 posts 8256 karma points
    Aug 31, 2016 @ 09:17
    Anders Burla
    0

    See in line 214 how its done. It checks that the product node is the same store id as the one you have sent, and also check that you have access to the node (if you use permissions).

    https://github.com/TeaCommerce/Tea-Commerce-for-Umbraco/blob/master/Source/TeaCommerce.Umbraco.Configuration/InformationExtractors/PublishedContentProductInformationExtractor.cs

    Ahh if its only 8 sizes, then its properly just as easy as make it as nodes :)

Please Sign in or register to post replies

Write your reply to:

Draft