${function() {
const variantData = data.variant || {"id":"057d98cc-a1ae-4d3f-8e72-3fc97082a3a6","product_id":"4febd3db-660d-4a68-9347-b095c1b843cf","title":"Skin-S","weight_unit":"kg","inventory_quantity":29,"sku":"","barcode":"","position":5,"option1":"Skin","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/64a7a85d194afd0475dc857d4fef8a5a.jpeg","path":"64a7a85d194afd0475dc857d4fef8a5a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0.1","compare_at_price":"32","price":"22","retail_price":"32","available":true,"url":"\/products\/kkp-womens-body-bodysuit-shaper-with-built-in-bra-and-shoulder-strap-shapewear-shorts-thigh-slimmer?variant=057d98cc-a1ae-4d3f-8e72-3fc97082a3a6","available_quantity":999999999,"options":[{"name":"Color","value":"Skin"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":1};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
(Tax included)
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
(Tax included)
`;
}()}
${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":"057d98cc-a1ae-4d3f-8e72-3fc97082a3a6","product_id":"4febd3db-660d-4a68-9347-b095c1b843cf","title":"Skin-S","weight_unit":"kg","inventory_quantity":29,"sku":"","barcode":"","position":5,"option1":"Skin","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/64a7a85d194afd0475dc857d4fef8a5a.jpeg","path":"64a7a85d194afd0475dc857d4fef8a5a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0.1","compare_at_price":"32","price":"22","retail_price":"32","available":true,"url":"\/products\/kkp-womens-body-bodysuit-shaper-with-built-in-bra-and-shoulder-strap-shapewear-shorts-thigh-slimmer?variant=057d98cc-a1ae-4d3f-8e72-3fc97082a3a6","available_quantity":999999999,"options":[{"name":"Color","value":"Skin"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}