${function() {
const variantData = data.variant || {"id":"79fb0d2f-ac4a-4731-8563-106767499293","product_id":"75470af6-2115-45cb-a436-b2c65e1df640","title":"White-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-White-M-A00423850","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2c86cfd505b8fe4ba48d2dc3d45b3a2a.jpeg","path":"2c86cfd505b8fe4ba48d2dc3d45b3a2a.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/gradient-sport-t-shirt-and-pants-two-piece-set-t8tx?variant=79fb0d2f-ac4a-4731-8563-106767499293","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":50,"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":"79fb0d2f-ac4a-4731-8563-106767499293","product_id":"75470af6-2115-45cb-a436-b2c65e1df640","title":"White-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-White-M-A00423850","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2c86cfd505b8fe4ba48d2dc3d45b3a2a.jpeg","path":"2c86cfd505b8fe4ba48d2dc3d45b3a2a.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/gradient-sport-t-shirt-and-pants-two-piece-set-t8tx?variant=79fb0d2f-ac4a-4731-8563-106767499293","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}