${function() {
const variantData = data.variant || {"id":"25ef28eb-a1e9-4221-b0ba-79eeeabcbbbe","product_id":"f51f0a73-bb7d-4a39-9be3-22057696dd2a","title":"same_as_photo-s","weight_unit":"kg","inventory_quantity":997,"sku":"4721792","barcode":"4721792","position":1,"option1":"same_as_photo","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/367de83c106f7882b39c6cce6fbf2d98.jpeg","path":"367de83c106f7882b39c6cce6fbf2d98.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.23,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"26.23","retail_price":"0","available":true,"url":"\/products\/button-down-collar-stripes-half-sleeve-maxi-dresses-1?variant=25ef28eb-a1e9-4221-b0ba-79eeeabcbbbe","available_quantity":999999999,"options":[{"name":"Color","value":"same_as_photo"},{"name":"Size","value":"s"}],"off_ratio":0,"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 + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : 4721792
Weight : 0.25kg
Barcode : 4721792
${function(){
const variantData = data.variant || {"id":"25ef28eb-a1e9-4221-b0ba-79eeeabcbbbe","product_id":"f51f0a73-bb7d-4a39-9be3-22057696dd2a","title":"same_as_photo-s","weight_unit":"kg","inventory_quantity":997,"sku":"4721792","barcode":"4721792","position":1,"option1":"same_as_photo","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/367de83c106f7882b39c6cce6fbf2d98.jpeg","path":"367de83c106f7882b39c6cce6fbf2d98.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.23,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"26.23","retail_price":"0","available":true,"url":"\/products\/button-down-collar-stripes-half-sleeve-maxi-dresses-1?variant=25ef28eb-a1e9-4221-b0ba-79eeeabcbbbe","available_quantity":999999999,"options":[{"name":"Color","value":"same_as_photo"},{"name":"Size","value":"s"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}