${function() {
const variantData = data.variant || {"id":"c9e7004a-5c97-4f82-a3a4-722d16407478","product_id":"26672705-3da0-4122-9c28-6e6636403b3a","title":"green-S","weight_unit":"kg","inventory_quantity":200,"sku":"TSLC1318-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ddc0782902fd3f7137f0200759424ee.jpeg","path":"4ddc0782902fd3f7137f0200759424ee.jpeg","width":1140,"height":1500,"alt":"","aspect_ratio":0.76},"wholesale_price":[{"price":31.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"46.98","price":"31.98","retail_price":"46.98","available":true,"url":"\/products\/pop-graffiti-print-one-piece-swimsuit-v5is-x5sw-hpdx-ch5s-kphe-0yrc?variant=c9e7004a-5c97-4f82-a3a4-722d16407478","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":0};
const saveType = "amount";
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 : TSLC1318-green-S
Weight : 0.26kg
${function(){
const variantData = data.variant || {"id":"c9e7004a-5c97-4f82-a3a4-722d16407478","product_id":"26672705-3da0-4122-9c28-6e6636403b3a","title":"green-S","weight_unit":"kg","inventory_quantity":200,"sku":"TSLC1318-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ddc0782902fd3f7137f0200759424ee.jpeg","path":"4ddc0782902fd3f7137f0200759424ee.jpeg","width":1140,"height":1500,"alt":"","aspect_ratio":0.76},"wholesale_price":[{"price":31.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"46.98","price":"31.98","retail_price":"46.98","available":true,"url":"\/products\/pop-graffiti-print-one-piece-swimsuit-v5is-x5sw-hpdx-ch5s-kphe-0yrc?variant=c9e7004a-5c97-4f82-a3a4-722d16407478","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}