${function() {
const variantData = data.variant || {"id":"7ef83193-fccc-48ef-ba4b-e8d25e7c1ad1","product_id":"8880b9ca-8204-4881-af60-7f004fd141eb","title":"Army Green-7","weight_unit":"g","inventory_quantity":988,"sku":"MS-355-Army Green-7","barcode":"","position":1,"option1":"Army Green","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-1-yvqa-su2k-nq4z-773n-b558-4z57-qey9-s40j-ob41?variant=7ef83193-fccc-48ef-ba4b-e8d25e7c1ad1","available_quantity":999999999,"options":[{"name":"Color","value":"Army Green"},{"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
: Army Green
${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":"7ef83193-fccc-48ef-ba4b-e8d25e7c1ad1","product_id":"8880b9ca-8204-4881-af60-7f004fd141eb","title":"Army Green-7","weight_unit":"g","inventory_quantity":988,"sku":"MS-355-Army Green-7","barcode":"","position":1,"option1":"Army Green","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-1-yvqa-su2k-nq4z-773n-b558-4z57-qey9-s40j-ob41?variant=7ef83193-fccc-48ef-ba4b-e8d25e7c1ad1","available_quantity":999999999,"options":[{"name":"Color","value":"Army Green"},{"name":"US Size","value":"7"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}