${function() {
const variantData = data.variant || {"id":"d76fd189-9897-4fec-b510-1d16e504469b","product_id":"b3551f88-c8a0-448a-ae19-9b5761aae9c6","title":"Blue-US 6 (EUR 38)","weight_unit":"","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"US 6 (EUR 38)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/90c2bc0a1ee948b52d1c74d973dd8692.jpeg","path":"90c2bc0a1ee948b52d1c74d973dd8692.jpeg","width":1000,"height":1000,"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\/mens-breathable-casual-soft-slip-on-shoes?variant=d76fd189-9897-4fec-b510-1d16e504469b","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Shoe Size","value":"US 6 (EUR 38)"}],"off_ratio":22,"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
: Blue
${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":"d76fd189-9897-4fec-b510-1d16e504469b","product_id":"b3551f88-c8a0-448a-ae19-9b5761aae9c6","title":"Blue-US 6 (EUR 38)","weight_unit":"","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"US 6 (EUR 38)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/90c2bc0a1ee948b52d1c74d973dd8692.jpeg","path":"90c2bc0a1ee948b52d1c74d973dd8692.jpeg","width":1000,"height":1000,"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\/mens-breathable-casual-soft-slip-on-shoes?variant=d76fd189-9897-4fec-b510-1d16e504469b","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Shoe Size","value":"US 6 (EUR 38)"}],"off_ratio":22,"flashsale_info":[],"sales":1};
return `
`
}()}