Cotton and Linen Two-piece Button Style Casual and Soft
${function() {
const variantData = data.variant || {"id":"88c9f7ee-707c-4572-84bc-3900ce7b9bdd","product_id":"53c42a76-22d0-4258-bd12-d6b57f9a1ba0","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WP00047-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/905221a377f58c775e12f04d91f3005a.jpeg","path":"905221a377f58c775e12f04d91f3005a.jpeg","width":1408,"height":1876,"alt":"","aspect_ratio":0.7505330490405118},"wholesale_price":[{"price":44.33,"min_quantity":1}],"weight":"0","compare_at_price":"110","price":"44.33","retail_price":"110","available":true,"url":"\/products\/cotton-and-linen-two-piece-button-style-casual-and-soft?variant=88c9f7ee-707c-4572-84bc-3900ce7b9bdd","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":"60","flashsale_info":{"variant_id":"88c9f7ee-707c-4572-84bc-3900ce7b9bdd","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.33","compare_at_price":"","discount_price":"44.33","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"60","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":"88c9f7ee-707c-4572-84bc-3900ce7b9bdd","product_id":"53c42a76-22d0-4258-bd12-d6b57f9a1ba0","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WP00047-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/905221a377f58c775e12f04d91f3005a.jpeg","path":"905221a377f58c775e12f04d91f3005a.jpeg","width":1408,"height":1876,"alt":"","aspect_ratio":0.7505330490405118},"wholesale_price":[{"price":44.33,"min_quantity":1}],"weight":"0","compare_at_price":"110","price":"44.33","retail_price":"110","available":true,"url":"\/products\/cotton-and-linen-two-piece-button-style-casual-and-soft?variant=88c9f7ee-707c-4572-84bc-3900ce7b9bdd","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":"60","flashsale_info":{"variant_id":"88c9f7ee-707c-4572-84bc-3900ce7b9bdd","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.33","compare_at_price":"","discount_price":"44.33","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"60","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}
`
}()}