${function() {
const variantData = data.variant || {"id":"b02df62b-6be6-476e-b80c-12811ae48ae7","product_id":"7bfe507d-126f-4843-9232-b6bd83490ead","title":"Beige-6.5","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Beige","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2ce819af625731f8f8bf841a5f9b811.jpeg","path":"c2ce819af625731f8f8bf841a5f9b811.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"89.99","price":"69.99","retail_price":"89.99","available":true,"url":"\/products\/high-top-outdoors-style-breathable-running-sports-sneakers?variant=b02df62b-6be6-476e-b80c-12811ae48ae7","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":22,"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
: Beige
${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}
`
}()}
Shoe Size
: 6.5
${function(){
const optName = "Shoe 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":"b02df62b-6be6-476e-b80c-12811ae48ae7","product_id":"7bfe507d-126f-4843-9232-b6bd83490ead","title":"Beige-6.5","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Beige","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2ce819af625731f8f8bf841a5f9b811.jpeg","path":"c2ce819af625731f8f8bf841a5f9b811.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"89.99","price":"69.99","retail_price":"89.99","available":true,"url":"\/products\/high-top-outdoors-style-breathable-running-sports-sneakers?variant=b02df62b-6be6-476e-b80c-12811ae48ae7","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":22,"flashsale_info":[],"sales":0};
return `
`
}()}