${function() {
const variantData = data.variant || {"id":"58a54b1f-47ee-455f-8283-aaeb3d6ff8a9","product_id":"6fa9a39f-d5d3-4936-af1f-6f9e92e48ecb","title":"Black White-7","weight_unit":"g","inventory_quantity":988,"sku":"MC-999-Black Whitee-7","barcode":"","position":1,"option1":"Black White","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-503388768-18bb-diib-miov-9s0e-0qjv-myhw-lj9w-xypi-9ffa-6s1p?variant=58a54b1f-47ee-455f-8283-aaeb3d6ff8a9","available_quantity":999999999,"options":[{"name":"Color","value":"Black White"},{"name":"US Size","value":"7"}],"off_ratio":50,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Black White
${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":"58a54b1f-47ee-455f-8283-aaeb3d6ff8a9","product_id":"6fa9a39f-d5d3-4936-af1f-6f9e92e48ecb","title":"Black White-7","weight_unit":"g","inventory_quantity":988,"sku":"MC-999-Black Whitee-7","barcode":"","position":1,"option1":"Black White","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-503388768-18bb-diib-miov-9s0e-0qjv-myhw-lj9w-xypi-9ffa-6s1p?variant=58a54b1f-47ee-455f-8283-aaeb3d6ff8a9","available_quantity":999999999,"options":[{"name":"Color","value":"Black White"},{"name":"US Size","value":"7"}],"off_ratio":50,"flashsale_info":[],"sales":3};
return `
`
}()}