${function() {
const variantData = data.variant || {"id":"d8ae0374-8f8d-48d7-a6af-dd83f6e339ac","product_id":"c5e027a6-dcc0-4b5b-a1d7-bc0ec9f00311","title":"green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"green S-43081173","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a49e1f5d236b43fe278d60fcdfb3e83.jpeg","path":"2a49e1f5d236b43fe278d60fcdfb3e83.jpeg","width":1600,"height":1600,"alt":"Women's Off Shoulder Slash Neck Sweater","aspect_ratio":1},"wholesale_price":[{"price":41.85,"min_quantity":1}],"weight":"0","compare_at_price":"41.85","price":"41.85","retail_price":"41.85","available":true,"url":"\/products\/womens-off-shoulder-slash-neck-sweater-208529813574?variant=d8ae0374-8f8d-48d7-a6af-dd83f6e339ac","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"S"}],"off_ratio":0,"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":"d8ae0374-8f8d-48d7-a6af-dd83f6e339ac","product_id":"c5e027a6-dcc0-4b5b-a1d7-bc0ec9f00311","title":"green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"green S-43081173","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a49e1f5d236b43fe278d60fcdfb3e83.jpeg","path":"2a49e1f5d236b43fe278d60fcdfb3e83.jpeg","width":1600,"height":1600,"alt":"Women's Off Shoulder Slash Neck Sweater","aspect_ratio":1},"wholesale_price":[{"price":41.85,"min_quantity":1}],"weight":"0","compare_at_price":"41.85","price":"41.85","retail_price":"41.85","available":true,"url":"\/products\/womens-off-shoulder-slash-neck-sweater-208529813574?variant=d8ae0374-8f8d-48d7-a6af-dd83f6e339ac","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"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}
`
}()}