${function() {
const variantData = data.variant || {"id":"da70cd1c-0679-43c7-898c-8f15eb882eba","product_id":"39cfb4ac-9412-43ce-99d0-dba1620c2c5f","title":"G888-Green-6.5","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"G888-Green","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/195d8dd993613406ca8b7e1501aa07b3.jpeg","path":"195d8dd993613406ca8b7e1501aa07b3.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":68.99,"min_quantity":1}],"weight":"0","compare_at_price":"88.99","price":"68.99","retail_price":"88.99","available":true,"url":"\/products\/men-comfortable-breathable-running-walking-sneakers_t9t6?variant=da70cd1c-0679-43c7-898c-8f15eb882eba","available_quantity":999999999,"options":[{"name":"Color","value":"G888-Green"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":22,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: G888-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}
`
}()}
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":"da70cd1c-0679-43c7-898c-8f15eb882eba","product_id":"39cfb4ac-9412-43ce-99d0-dba1620c2c5f","title":"G888-Green-6.5","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"G888-Green","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/195d8dd993613406ca8b7e1501aa07b3.jpeg","path":"195d8dd993613406ca8b7e1501aa07b3.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":68.99,"min_quantity":1}],"weight":"0","compare_at_price":"88.99","price":"68.99","retail_price":"88.99","available":true,"url":"\/products\/men-comfortable-breathable-running-walking-sneakers_t9t6?variant=da70cd1c-0679-43c7-898c-8f15eb882eba","available_quantity":999999999,"options":[{"name":"Color","value":"G888-Green"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":22,"flashsale_info":[],"sales":2};
return `
`
}()}