${function() {
const variantData = data.variant || {"id":"5d9d4078-2f74-447a-bcc8-31b011917b63","product_id":"e579cf1c-b19d-414e-afa1-ff3ba3afe49c","title":"White Red-7","weight_unit":"kg","inventory_quantity":979,"sku":"MS-0111-White Red-7","barcode":"","position":1,"option1":"White Red","option2":"7","option3":"","note":"","image":null,"wholesale_price":[{"price":109.95,"min_quantity":1}],"weight":"0","compare_at_price":"189.95","price":"109.95","retail_price":"189.95","available":true,"url":"\/products\/0v6r-9urr-o9p5?variant=5d9d4078-2f74-447a-bcc8-31b011917b63","available_quantity":979,"options":[{"name":"Color","value":"White Red"},{"name":"US Size","value":"7"}],"off_ratio":42,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: White Red
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Us Size
: 7
${function(){
const optName = "US Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"5d9d4078-2f74-447a-bcc8-31b011917b63","product_id":"e579cf1c-b19d-414e-afa1-ff3ba3afe49c","title":"White Red-7","weight_unit":"kg","inventory_quantity":979,"sku":"MS-0111-White Red-7","barcode":"","position":1,"option1":"White Red","option2":"7","option3":"","note":"","image":null,"wholesale_price":[{"price":109.95,"min_quantity":1}],"weight":"0","compare_at_price":"189.95","price":"109.95","retail_price":"189.95","available":true,"url":"\/products\/0v6r-9urr-o9p5?variant=5d9d4078-2f74-447a-bcc8-31b011917b63","available_quantity":979,"options":[{"name":"Color","value":"White Red"},{"name":"US Size","value":"7"}],"off_ratio":42,"flashsale_info":[],"sales":1};
return `
`
}()}