${function() {
const variantData = data.variant || {"id":"35442276-746c-4d20-b451-d4f23ed0d784","product_id":"3e96141c-3c0d-46da-82f6-b9a65bfd1960","title":"Black-Red-US 6 (EUR 38)","weight_unit":"","inventory_quantity":999,"sku":"MS-0441-Black-Red-US 6 (EUR 38)","barcode":"","position":1,"option1":"Black-Red","option2":"US 6 (EUR 38)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c2fe1569084a18a36d582fcc65ff7af.jpeg","path":"7c2fe1569084a18a36d582fcc65ff7af.jpeg","width":800,"height":800,"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\/mens-leather-casual-loafers-moccasins-breathable-slip-on-shoes?variant=35442276-746c-4d20-b451-d4f23ed0d784","available_quantity":999999999,"options":[{"name":"Color","value":"Black-Red"},{"name":"Shoe Size","value":"US 6 (EUR 38)"}],"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
: Black-Red
${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
: US 6 (EUR 38)
${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":"35442276-746c-4d20-b451-d4f23ed0d784","product_id":"3e96141c-3c0d-46da-82f6-b9a65bfd1960","title":"Black-Red-US 6 (EUR 38)","weight_unit":"","inventory_quantity":999,"sku":"MS-0441-Black-Red-US 6 (EUR 38)","barcode":"","position":1,"option1":"Black-Red","option2":"US 6 (EUR 38)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c2fe1569084a18a36d582fcc65ff7af.jpeg","path":"7c2fe1569084a18a36d582fcc65ff7af.jpeg","width":800,"height":800,"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\/mens-leather-casual-loafers-moccasins-breathable-slip-on-shoes?variant=35442276-746c-4d20-b451-d4f23ed0d784","available_quantity":999999999,"options":[{"name":"Color","value":"Black-Red"},{"name":"Shoe Size","value":"US 6 (EUR 38)"}],"off_ratio":22,"flashsale_info":[],"sales":0};
return `
`
}()}