${function() {
const variantData = data.variant || {"id":"1eba886f-214f-4b6d-9370-8b14be678be9","product_id":"2bfb4206-91fe-436f-8f13-7f3b236cfd7f","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"WY01B-A14-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1a150ebbf9b7510e59e7a0fd69e3c0f.jpeg","path":"a1a150ebbf9b7510e59e7a0fd69e3c0f.jpeg","width":1270,"height":1270,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.98,"min_quantity":1}],"weight":"0.6","compare_at_price":"32.98","price":"24.98","retail_price":"32.98","available":true,"url":"\/products\/be-your-own-sugar-daddy-hoodie-mb04?variant=1eba886f-214f-4b6d-9370-8b14be678be9","available_quantity":999999999,"options":[{"name":"color","value":"White"},{"name":"size","value":"S"}],"off_ratio":24,"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":"1eba886f-214f-4b6d-9370-8b14be678be9","product_id":"2bfb4206-91fe-436f-8f13-7f3b236cfd7f","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"WY01B-A14-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1a150ebbf9b7510e59e7a0fd69e3c0f.jpeg","path":"a1a150ebbf9b7510e59e7a0fd69e3c0f.jpeg","width":1270,"height":1270,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.98,"min_quantity":1}],"weight":"0.6","compare_at_price":"32.98","price":"24.98","retail_price":"32.98","available":true,"url":"\/products\/be-your-own-sugar-daddy-hoodie-mb04?variant=1eba886f-214f-4b6d-9370-8b14be678be9","available_quantity":999999999,"options":[{"name":"color","value":"White"},{"name":"size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}