Copied to clipboard

Flag this post as spam?

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


  • Jeff 74 posts 346 karma points
    Oct 16, 2015 @ 12:42
    Jeff
    0

    Making unique order lines with variants

    I have setup a TeaCommerce site but after adding variants I find if I add the same product with a different variant it increases the quantity of the products and only shows the second variant, is there any way to make this add a second version of the product?

    I have used the HTML API AddOrUpdateOrderLine 2nd example as a starting point for this and added the variants as custom properties.

    Thanks, Jeff

  • Anders Burla 2560 posts 8256 karma points
    Oct 19, 2015 @ 06:26
    Anders Burla
    100

    Hi Jeff

    When you have the properties added to the order line - then go to the store settings of the Tea Commerce backend and set the unique order line properties text field to have the aliases of the properties that make it unique - like color.

    Kind regards

    Anders

  • Jeff 74 posts 346 karma points
    Oct 19, 2015 @ 09:01
    Jeff
    0

    Hi Anders,

    Thanks for your help that worked. If I add any custom properties should I also add them to the Product property aliases box?

    Regards, Jeff

  • Anders Burla 2560 posts 8256 karma points
    Oct 19, 2015 @ 09:07
    Anders Burla
    0

    Product property aliases is the info that Tea Commerce will auto copy from the Umbraco node to the Tea Commerce order line. So properly not needed for your custom properties

Please Sign in or register to post replies

Write your reply to:

Draft