${function() {
const variantData = data.variant || {"id":"3d563370-7f32-4fc7-be19-396f11151460","product_id":"36e3cb84-a9e2-452c-92f3-902d7c693f36","title":"black-S","weight_unit":"g","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e75f33f40ac4ee13aeb10a1e8fdbc23c.webp","path":"e75f33f40ac4ee13aeb10a1e8fdbc23c.webp","width":989,"height":1483,"alt":"","aspect_ratio":0.6668914362778152},"wholesale_price":[{"price":18.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"18.95","retail_price":"0","available":true,"url":"\/products\/fashion-high-neck-hollow-out-off-shoulder-slit-blouse?variant=3d563370-7f32-4fc7-be19-396f11151460","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"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":"3d563370-7f32-4fc7-be19-396f11151460","product_id":"36e3cb84-a9e2-452c-92f3-902d7c693f36","title":"black-S","weight_unit":"g","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e75f33f40ac4ee13aeb10a1e8fdbc23c.webp","path":"e75f33f40ac4ee13aeb10a1e8fdbc23c.webp","width":989,"height":1483,"alt":"","aspect_ratio":0.6668914362778152},"wholesale_price":[{"price":18.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"18.95","retail_price":"0","available":true,"url":"\/products\/fashion-high-neck-hollow-out-off-shoulder-slit-blouse?variant=3d563370-7f32-4fc7-be19-396f11151460","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}