setTags Method

Callable

  • Specifies tags for the product.

    example
    var newTags = ["red", "flower", "postcard"];
    
    editor.getProduct()
        .then(function (product) {
            product.setTags(newTags)
            .catch(function (error) {
                console.error("Setting tags failed with exception: ", error);
            });
        })
    

    Parameters

    Returns Promise < void >