${function() {
const variantData = data.variant || {"id":"19791cfd-d6b7-47d5-b394-17c7e5ea5992","product_id":"42a2d82c-f032-43d0-8a67-e272f01bb726","title":"Red Gradient-S","weight_unit":"kg","inventory_quantity":1000,"sku":"CSCS2023040709-Red Gradient-S","barcode":"","position":1,"option1":"Red Gradient","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/afa2474a877befd15d343fee09e98e43.jpeg","path":"afa2474a877befd15d343fee09e98e43.jpeg","width":750,"height":900,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":34.06,"min_quantity":1}],"weight":"0","compare_at_price":"42.95","price":"34.06","retail_price":"42.95","available":true,"url":"\/products\/autumn-spring-and-summer-new-gradient-printing-shirt-collar-long-sleeve-pocket-mid-length-dress?variant=19791cfd-d6b7-47d5-b394-17c7e5ea5992","available_quantity":999999999,"options":[{"name":"Color","value":"Red Gradient"},{"name":"Size","value":"S"}],"off_ratio":21,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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":"19791cfd-d6b7-47d5-b394-17c7e5ea5992","product_id":"42a2d82c-f032-43d0-8a67-e272f01bb726","title":"Red Gradient-S","weight_unit":"kg","inventory_quantity":1000,"sku":"CSCS2023040709-Red Gradient-S","barcode":"","position":1,"option1":"Red Gradient","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/afa2474a877befd15d343fee09e98e43.jpeg","path":"afa2474a877befd15d343fee09e98e43.jpeg","width":750,"height":900,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":34.06,"min_quantity":1}],"weight":"0","compare_at_price":"42.95","price":"34.06","retail_price":"42.95","available":true,"url":"\/products\/autumn-spring-and-summer-new-gradient-printing-shirt-collar-long-sleeve-pocket-mid-length-dress?variant=19791cfd-d6b7-47d5-b394-17c7e5ea5992","available_quantity":999999999,"options":[{"name":"Color","value":"Red Gradient"},{"name":"Size","value":"S"}],"off_ratio":21,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}