${function() {
const variantData = data.variant || {"id":"92f724a8-567a-4cef-b970-3603e7d2a57d","product_id":"3d8f19ae-9541-4ce2-8085-d0e8e7abf230","title":"01-6.5","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"01","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b26aa4624a7b24f57d41d93f3c36048.jpeg","path":"2b26aa4624a7b24f57d41d93f3c36048.jpeg","width":610,"height":607,"alt":"","aspect_ratio":1.0049423393739703},"wholesale_price":[{"price":62.99,"min_quantity":1}],"weight":"0","compare_at_price":"82.99","price":"62.99","retail_price":"82.99","available":true,"url":"\/products\/men-luxury-handmade-retro-embroidery-boots?variant=92f724a8-567a-4cef-b970-3603e7d2a57d","available_quantity":999999999,"options":[{"name":"Color","value":"01"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":24,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: 01
${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":"92f724a8-567a-4cef-b970-3603e7d2a57d","product_id":"3d8f19ae-9541-4ce2-8085-d0e8e7abf230","title":"01-6.5","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"01","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b26aa4624a7b24f57d41d93f3c36048.jpeg","path":"2b26aa4624a7b24f57d41d93f3c36048.jpeg","width":610,"height":607,"alt":"","aspect_ratio":1.0049423393739703},"wholesale_price":[{"price":62.99,"min_quantity":1}],"weight":"0","compare_at_price":"82.99","price":"62.99","retail_price":"82.99","available":true,"url":"\/products\/men-luxury-handmade-retro-embroidery-boots?variant=92f724a8-567a-4cef-b970-3603e7d2a57d","available_quantity":999999999,"options":[{"name":"Color","value":"01"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":24,"flashsale_info":[],"sales":1};
return `
`
}()}