${function() {
const variantData = data.variant || {"id":"d3b8a0da-80aa-4363-9731-e217f93ee683","product_id":"1083d367-e335-4a70-a7a4-106bd42782c6","title":"Colorful-7","weight_unit":"g","inventory_quantity":784,"sku":"MC-225-Colorful-7","barcode":"","position":1,"option1":"Colorful","option2":"7","option3":"","note":"","image":null,"wholesale_price":[{"price":79.95,"min_quantity":1}],"weight":"0","compare_at_price":"159.95","price":"79.95","retail_price":"159.95","available":true,"url":"\/products\/mens-air-cushion-sneakers-509406608-9ln7-54ro-ph1w-elpi-b6ml-th5q-7van-ui26-vha3-rhdq?variant=d3b8a0da-80aa-4363-9731-e217f93ee683","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"US Size","value":"7"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Colorful
${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":"d3b8a0da-80aa-4363-9731-e217f93ee683","product_id":"1083d367-e335-4a70-a7a4-106bd42782c6","title":"Colorful-7","weight_unit":"g","inventory_quantity":784,"sku":"MC-225-Colorful-7","barcode":"","position":1,"option1":"Colorful","option2":"7","option3":"","note":"","image":null,"wholesale_price":[{"price":79.95,"min_quantity":1}],"weight":"0","compare_at_price":"159.95","price":"79.95","retail_price":"159.95","available":true,"url":"\/products\/mens-air-cushion-sneakers-509406608-9ln7-54ro-ph1w-elpi-b6ml-th5q-7van-ui26-vha3-rhdq?variant=d3b8a0da-80aa-4363-9731-e217f93ee683","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"US Size","value":"7"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}