setAddToCartLabel( )


Sets the Add To Cart button's label.

The setAddToCartLabel() function returns a Promise that is resolved when the Add To Cart button's label is set.

Method Declaration
Copy
Method Parameters
labelstringRequired

A string representing the Add To Cart button's new label.

Did this help?