Copied to clipboard

Flag this post as spam?

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


  • René 327 posts 852 karma points
    Jul 10, 2014 @ 10:10
    René
    0

    Teacommerce settings

    HI 

    I´m working on a Teacommerce installed in umbraco 6

    I have some troubels with getting the variants to update correct when changing the variant from a dropdown. 

    I think it has someting to do with the product settings, but i cant figure out how theese settings should be used. 

    A little explanation for the settings here would be great :-)

    Another question regarding to update variants in this "refreshwithtemplate="Products/Product.cshtml"" This is used to refresh after update. Are there any othere required settings for the update process to work.

     <div class="row @cssClass" id="product" refreshwithtemplate="Products/Product.cshtml" productid="@product.Id" itemscope="" itemtype="http://schema.org/Product">
                <meta itemprop="productID" content="@sku" />
                <meta itemprop="brand" content="" />
                <meta itemprop="manufacturer" content="" />
                <meta itemprop="image" content="@productImage" />
                <form action="/base/TC/FormPost.aspx" method="post">
                <input name="storeId" type="hidden" value="@storeId" />
                <input name="AddOrUpdateOrderLine" type="hidden" value="productIdentifier : productIdentifier, orderLineId : orderLineId, quantity : quantity, propertyKeys : propertyKeys" />  

    René 

     

  • Anders Burla 2560 posts 8256 karma points
    Jul 10, 2014 @ 13:42
    Anders Burla
    0

    The properties you see is for when the product is added to the cart of Tea Commerce. SKU is the alias of the property for the SKU. Name is where to find product name - fallback to nodeName. Vat group is to find the vat group of a product if you need that for advanced shops. Product property aliases is a comma seperated list of properties to copy from the product node to order lines properties in TC. The uniqueness is for making variants where you dont have seperate nodes for the variants. Then you tell tea commerce which order line properties that makes a product unique. So a "red" and "blue" value for a "color" order line property would result in two order lines.

    The UI is properly updated with JavaScript if you use the starter kit. So try look at if you have a javascript error or something else that breakes the UI for updating.

    Kind regards
    Anders

  • René 327 posts 852 karma points
    Jul 10, 2014 @ 13:48
    René
    0

    HI 

    Tanks for your reply. 

    "Product property aliases is a comma seperated list of properties to copy from the product node to order lines properties in TC"

    Just to be sure if i understand this correct. All ´properties used in the orderline must be here as a comma separated list. 

    If i have nodename and a image in the orderline i must put this "nodeName, image" for the orderline to work

    René 

  • Anders Burla 2560 posts 8256 karma points
    Jul 10, 2014 @ 13:59
    Anders Burla
    0

    Nodename/product name is already there becuasee of the product name property alias. But if you want to copy the image id from a product node to the order line because it is business critical info, then yes you add it here. BUT you always have the productIdentifier (node id) on an order line so you can always load the umbraco node and get the image id from the node. Normally we only copy business critical info to the order line.

    Kind regards
    Anders

  • René 327 posts 852 karma points
    Jul 10, 2014 @ 14:02
    René
    0

    HI 

    Tanks 

    René 

Please Sign in or register to post replies

Write your reply to:

Draft