${function() {
const variantData = data.variant || {"id":"396a40a1-3971-4f1f-9d82-75af6e9a26d3","product_id":"ea95fc9c-84e8-4137-9477-f9a073a7e326","title":"White-7","weight_unit":"g","inventory_quantity":921,"sku":"MS-350-White-7","barcode":"","position":1,"option1":"White","option2":"7","option3":"","note":"","image":null,"wholesale_price":[{"price":79.96,"min_quantity":1}],"weight":"0","compare_at_price":"199.95","price":"79.96","retail_price":"199.95","available":true,"url":"\/products\/mens-air-cushion-sneakers-2-xj5r-8xa8-ktmt-akad-eb07-92jn-82ze-a8b1-nooc-8zme-s1m6-eayk-j92x-wtdt-2lf6-2lfy-4ix6-3qmf-j7pz-odus-r9xa-7hfp-8mp5-qxrr-lako-5dci?variant=396a40a1-3971-4f1f-9d82-75af6e9a26d3","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"US Size","value":"7"}],"off_ratio":60,"flashsale_info":[],"sales":110};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: 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":"396a40a1-3971-4f1f-9d82-75af6e9a26d3","product_id":"ea95fc9c-84e8-4137-9477-f9a073a7e326","title":"White-7","weight_unit":"g","inventory_quantity":921,"sku":"MS-350-White-7","barcode":"","position":1,"option1":"White","option2":"7","option3":"","note":"","image":null,"wholesale_price":[{"price":79.96,"min_quantity":1}],"weight":"0","compare_at_price":"199.95","price":"79.96","retail_price":"199.95","available":true,"url":"\/products\/mens-air-cushion-sneakers-2-xj5r-8xa8-ktmt-akad-eb07-92jn-82ze-a8b1-nooc-8zme-s1m6-eayk-j92x-wtdt-2lf6-2lfy-4ix6-3qmf-j7pz-odus-r9xa-7hfp-8mp5-qxrr-lako-5dci?variant=396a40a1-3971-4f1f-9d82-75af6e9a26d3","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"US Size","value":"7"}],"off_ratio":60,"flashsale_info":[],"sales":110};
return `
`
}()}