${function() {
const variantData = data.variant || {"id":"31adcbf7-76d7-4c9f-a51c-710c3ffc06c6","product_id":"3c2f906d-154e-4961-b8ec-dabb3a738e6a","title":"S-light green","weight_unit":"kg","inventory_quantity":6,"sku":"","barcode":"","position":11,"option1":"S","option2":"light green","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6da1d4102821975f07c6ea8e1610805f.jpeg","path":"6da1d4102821975f07c6ea8e1610805f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.57,"min_quantity":1}],"weight":"0","compare_at_price":"40.33","price":"20.57","retail_price":"40.33","available":true,"url":"\/products\/summer-club-party-slip-dress-sexy-backless-sleeveless-v-neck-ladies-a-line-swing-spaghetti-strap-midi-dress-2022-white-red-black?variant=31adcbf7-76d7-4c9f-a51c-710c3ffc06c6","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"light green"}],"off_ratio":49,"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.
${function(){
const variantData = data.variant || {"id":"31adcbf7-76d7-4c9f-a51c-710c3ffc06c6","product_id":"3c2f906d-154e-4961-b8ec-dabb3a738e6a","title":"S-light green","weight_unit":"kg","inventory_quantity":6,"sku":"","barcode":"","position":11,"option1":"S","option2":"light green","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6da1d4102821975f07c6ea8e1610805f.jpeg","path":"6da1d4102821975f07c6ea8e1610805f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.57,"min_quantity":1}],"weight":"0","compare_at_price":"40.33","price":"20.57","retail_price":"40.33","available":true,"url":"\/products\/summer-club-party-slip-dress-sexy-backless-sleeveless-v-neck-ladies-a-line-swing-spaghetti-strap-midi-dress-2022-white-red-black?variant=31adcbf7-76d7-4c9f-a51c-710c3ffc06c6","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"light green"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}