setAddToCartLabel( )


Sets the Add To Cart button's label.

This function is currently only available for Wix Studio sites.

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.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?