Search...
setBuyNowLabel( )
Sets the Buy Now button's label.
Description
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.
Syntax
function setBuyNowLabel(label: string): Promise<void>
setBuyNowLabel Parameters
NAME
TYPE
DESCRIPTION
label
string
A string representing the Buy Now button's new label.
Returns
Fulfilled - When the Buy Now button's label is set.
Return Type:
Promise<void>
Was this helpful?
Set the Buy Now button's label
Copy Code
1$w('#myProductPage').setBuyNowLabel('Purchase Now');