${function() {
const variantData = data.variant || {"id":"b6b0a2ac-8ec1-4653-983c-da4e03073af8","product_id":"0a4dfbc0-9387-4bbb-b2c0-1fce773b8d81","title":"brown-7","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"brown","option2":"7","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f4f6d27b22b260cdbfd4c0cdd1a09bf3.jpeg","path":"f4f6d27b22b260cdbfd4c0cdd1a09bf3.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":68.88,"min_quantity":1}],"weight":"0","compare_at_price":"88.88","price":"68.88","retail_price":"88.88","available":true,"url":"\/products\/men-genuine-leather-oxfords-business-formal-shoes_b349?variant=b6b0a2ac-8ec1-4653-983c-da4e03073af8","available_quantity":999999999,"options":[{"name":"Color","value":"brown"},{"name":"Shoe Size","value":"7"}],"off_ratio":23,"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
: brown
${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
: 7
${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":"b6b0a2ac-8ec1-4653-983c-da4e03073af8","product_id":"0a4dfbc0-9387-4bbb-b2c0-1fce773b8d81","title":"brown-7","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"brown","option2":"7","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f4f6d27b22b260cdbfd4c0cdd1a09bf3.jpeg","path":"f4f6d27b22b260cdbfd4c0cdd1a09bf3.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":68.88,"min_quantity":1}],"weight":"0","compare_at_price":"88.88","price":"68.88","retail_price":"88.88","available":true,"url":"\/products\/men-genuine-leather-oxfords-business-formal-shoes_b349?variant=b6b0a2ac-8ec1-4653-983c-da4e03073af8","available_quantity":999999999,"options":[{"name":"Color","value":"brown"},{"name":"Shoe Size","value":"7"}],"off_ratio":23,"flashsale_info":[],"sales":0};
return `
`
}()}