${function() {
const variantData = data.variant || {"id":"67d9ccf9-706a-482b-86df-b393b305bd1f","product_id":"65ebc0bf-0e2a-4467-a2a1-42b4beb2ffe2","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K619435072943595520","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9366d1c0495fbab6cbec95542f40bc2.jpeg","path":"e9366d1c0495fbab6cbec95542f40bc2.jpeg","width":1140,"height":1500,"alt":"Men's Forget Me Not Flowers Butterfly Embroidery Short Sleeve Linen Blend Shirt","aspect_ratio":0.76},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"45.99","price":"25.99","retail_price":"45.99","available":true,"url":"\/products\/mens-forget-me-not-flowers-butterfly-embroidery-short-sleeve-linen-blend-shirt-y5uw?variant=67d9ccf9-706a-482b-86df-b393b305bd1f","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"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
: White
${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}
`
}()}
Size
: S
${function(){
const optName = "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":"67d9ccf9-706a-482b-86df-b393b305bd1f","product_id":"65ebc0bf-0e2a-4467-a2a1-42b4beb2ffe2","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K619435072943595520","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9366d1c0495fbab6cbec95542f40bc2.jpeg","path":"e9366d1c0495fbab6cbec95542f40bc2.jpeg","width":1140,"height":1500,"alt":"Men's Forget Me Not Flowers Butterfly Embroidery Short Sleeve Linen Blend Shirt","aspect_ratio":0.76},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"45.99","price":"25.99","retail_price":"45.99","available":true,"url":"\/products\/mens-forget-me-not-flowers-butterfly-embroidery-short-sleeve-linen-blend-shirt-y5uw?variant=67d9ccf9-706a-482b-86df-b393b305bd1f","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":1};
return `
`
}()}