${function() {
const variantData = data.variant || {"id":"fbb7f2b6-f704-496c-8edc-f4551ee99adb","product_id":"099ebe31-6ca7-451e-971c-eb397bf13a0c","title":"red brown-6","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"red brown","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bdc21f38fb52c6da6964ff3c86a86a9c.jpeg","path":"bdc21f38fb52c6da6964ff3c86a86a9c.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":64.99,"min_quantity":1}],"weight":"0","compare_at_price":"84.99","price":"64.99","retail_price":"84.99","available":true,"url":"\/products\/retro-bullock-men-classic-pointed-toe-leather-business-formal-shoes_yv8t?variant=fbb7f2b6-f704-496c-8edc-f4551ee99adb","available_quantity":999999999,"options":[{"name":"Color","value":"red brown"},{"name":"Shoe Size","value":"6"}],"off_ratio":24,"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
: red 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
: 6
${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":"fbb7f2b6-f704-496c-8edc-f4551ee99adb","product_id":"099ebe31-6ca7-451e-971c-eb397bf13a0c","title":"red brown-6","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"red brown","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bdc21f38fb52c6da6964ff3c86a86a9c.jpeg","path":"bdc21f38fb52c6da6964ff3c86a86a9c.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":64.99,"min_quantity":1}],"weight":"0","compare_at_price":"84.99","price":"64.99","retail_price":"84.99","available":true,"url":"\/products\/retro-bullock-men-classic-pointed-toe-leather-business-formal-shoes_yv8t?variant=fbb7f2b6-f704-496c-8edc-f4551ee99adb","available_quantity":999999999,"options":[{"name":"Color","value":"red brown"},{"name":"Shoe Size","value":"6"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
`
}()}