${function() {
const variantData = data.variant || {"id":"055f3a47-e03c-4b3a-bebe-0302dc0bfbcf","product_id":"c3aa08ca-6794-4f9c-a243-80b9fffb80bd","title":"Black-6.5","weight_unit":"kg","inventory_quantity":988,"sku":"MS-1231-Black-6.5","barcode":"","position":1,"option1":"Black","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3d5b19b15efd50f4dc6ef942a322790d.jpeg","path":"3d5b19b15efd50f4dc6ef942a322790d.jpeg","width":3680,"height":3680,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":85.99,"min_quantity":1}],"weight":"0","compare_at_price":"129.99","price":"85.99","retail_price":"129.99","available":true,"url":"\/products\/mens-air-cushion-sneakers-a7az-x7im-obgi-9a5b-xxch-elbc?variant=055f3a47-e03c-4b3a-bebe-0302dc0bfbcf","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"US Size","value":"6.5"}],"off_ratio":34,"flashsale_info":[],"sales":5};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Black
${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
: 6.5
${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":"055f3a47-e03c-4b3a-bebe-0302dc0bfbcf","product_id":"c3aa08ca-6794-4f9c-a243-80b9fffb80bd","title":"Black-6.5","weight_unit":"kg","inventory_quantity":988,"sku":"MS-1231-Black-6.5","barcode":"","position":1,"option1":"Black","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3d5b19b15efd50f4dc6ef942a322790d.jpeg","path":"3d5b19b15efd50f4dc6ef942a322790d.jpeg","width":3680,"height":3680,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":85.99,"min_quantity":1}],"weight":"0","compare_at_price":"129.99","price":"85.99","retail_price":"129.99","available":true,"url":"\/products\/mens-air-cushion-sneakers-a7az-x7im-obgi-9a5b-xxch-elbc?variant=055f3a47-e03c-4b3a-bebe-0302dc0bfbcf","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"US Size","value":"6.5"}],"off_ratio":34,"flashsale_info":[],"sales":5};
return `
`
}()}