Cotton and Linen Two-piece Button Style Casual and Soft
${function() {
const variantData = data.variant || {"id":"bcd7f544-f20d-4581-98aa-35199459c9aa","product_id":"fdac7057-239e-47c7-84a8-62f4930cc499","title":"yellow-S","weight_unit":"kg","inventory_quantity":999,"sku":"WP00051-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/774b8fe1c7189e47675111db621d4076.jpeg","path":"774b8fe1c7189e47675111db621d4076.jpeg","width":1102,"height":1469,"alt":"","aspect_ratio":0.7501701837985024},"wholesale_price":[{"price":44.83,"min_quantity":1}],"weight":"0","compare_at_price":"98.65","price":"44.83","retail_price":"98.65","available":true,"url":"\/products\/cotton-and-linen-two-piece-button-style-casual-and-soft-hpmy?variant=bcd7f544-f20d-4581-98aa-35199459c9aa","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"S"}],"off_ratio":"55","flashsale_info":{"variant_id":"bcd7f544-f20d-4581-98aa-35199459c9aa","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"44.83","compare_at_price":"","discount_price":"44.83","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"55","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${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.
${function(){
const variantData = data.variant || {"id":"bcd7f544-f20d-4581-98aa-35199459c9aa","product_id":"fdac7057-239e-47c7-84a8-62f4930cc499","title":"yellow-S","weight_unit":"kg","inventory_quantity":999,"sku":"WP00051-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/774b8fe1c7189e47675111db621d4076.jpeg","path":"774b8fe1c7189e47675111db621d4076.jpeg","width":1102,"height":1469,"alt":"","aspect_ratio":0.7501701837985024},"wholesale_price":[{"price":44.83,"min_quantity":1}],"weight":"0","compare_at_price":"98.65","price":"44.83","retail_price":"98.65","available":true,"url":"\/products\/cotton-and-linen-two-piece-button-style-casual-and-soft-hpmy?variant=bcd7f544-f20d-4581-98aa-35199459c9aa","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"S"}],"off_ratio":"55","flashsale_info":{"variant_id":"bcd7f544-f20d-4581-98aa-35199459c9aa","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"44.83","compare_at_price":"","discount_price":"44.83","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"55","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}