${function() {
const variantData = data.variant || {"id":"37990b84-2d5f-4d32-a4a3-874aed77bd81","product_id":"b0ed0247-791f-4e27-8c3d-581a2d2217ca","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BLG294537-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a92ccdb3a46c04b34a237ef46d8f701.jpeg","path":"2a92ccdb3a46c04b34a237ef46d8f701.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.11","price":"23.99","retail_price":"33.11","available":true,"url":"\/products\/womens-floral-graphic-print-v-neck-t-shirt-3?variant=37990b84-2d5f-4d32-a4a3-874aed77bd81","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":28,"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":"37990b84-2d5f-4d32-a4a3-874aed77bd81","product_id":"b0ed0247-791f-4e27-8c3d-581a2d2217ca","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BLG294537-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a92ccdb3a46c04b34a237ef46d8f701.jpeg","path":"2a92ccdb3a46c04b34a237ef46d8f701.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.11","price":"23.99","retail_price":"33.11","available":true,"url":"\/products\/womens-floral-graphic-print-v-neck-t-shirt-3?variant=37990b84-2d5f-4d32-a4a3-874aed77bd81","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}