${function() {
const variantData = data.variant || {"id":"a1cba90a-e5f3-434e-a92a-7d94630865c9","product_id":"3c20c0a9-4288-4d49-9598-b619a5d6d6a4","title":"Blue-6.5","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/11f873c72d08aa65d1e5a5b7d68b3b10.jpeg","path":"11f873c72d08aa65d1e5a5b7d68b3b10.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":65.99,"min_quantity":1}],"weight":"0","compare_at_price":"75.99","price":"65.99","retail_price":"75.99","available":true,"url":"\/products\/high-quality-mens-mesh-breathable-running-sneakers?variant=a1cba90a-e5f3-434e-a92a-7d94630865c9","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":13,"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
: Blue
${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":"a1cba90a-e5f3-434e-a92a-7d94630865c9","product_id":"3c20c0a9-4288-4d49-9598-b619a5d6d6a4","title":"Blue-6.5","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/11f873c72d08aa65d1e5a5b7d68b3b10.jpeg","path":"11f873c72d08aa65d1e5a5b7d68b3b10.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":65.99,"min_quantity":1}],"weight":"0","compare_at_price":"75.99","price":"65.99","retail_price":"75.99","available":true,"url":"\/products\/high-quality-mens-mesh-breathable-running-sneakers?variant=a1cba90a-e5f3-434e-a92a-7d94630865c9","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":13,"flashsale_info":[],"sales":0};
return `
`
}()}