${function() {
const variantData = data.variant || {"id":"b72f4140-54fa-4be2-9768-96b72ffc7cc0","product_id":"fdfcecb3-5285-4c2b-92eb-32e810403eae","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Picture 1-S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25a582293b117c933f345652e1db54f4.jpeg","path":"25a582293b117c933f345652e1db54f4.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.98,"min_quantity":1}],"weight":"0","compare_at_price":"41.23","price":"26.98","retail_price":"41.23","available":true,"url":"\/products\/womens-colorful-christmas-tree-casual-print-long-sleeve-sweatshirt?variant=b72f4140-54fa-4be2-9768-96b72ffc7cc0","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":35,"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":"b72f4140-54fa-4be2-9768-96b72ffc7cc0","product_id":"fdfcecb3-5285-4c2b-92eb-32e810403eae","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Picture 1-S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25a582293b117c933f345652e1db54f4.jpeg","path":"25a582293b117c933f345652e1db54f4.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.98,"min_quantity":1}],"weight":"0","compare_at_price":"41.23","price":"26.98","retail_price":"41.23","available":true,"url":"\/products\/womens-colorful-christmas-tree-casual-print-long-sleeve-sweatshirt?variant=b72f4140-54fa-4be2-9768-96b72ffc7cc0","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}