setBuyNowLabel( )


Sets the Buy Now button's label.

This function is currently only available for Wix Studio sites.

The setBuyNowLabel() function returns a Promise that is resolved when the Buy Now button's label is set.

Method Declaration
Copy
Method Parameters
labelstringRequired

A string representing the Buy Now 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?