${function() {
const variantData = data.variant || {"id":"41f32285-112b-4069-a3bb-255cef42137e","product_id":"9a5bf744-ec18-4ab5-ac83-07f092f0b516","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-Black-S-A00441042","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e26028bb91c03d8ea603401ec3384c7.jpeg","path":"4e26028bb91c03d8ea603401ec3384c7.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.89","price":"18.99","retail_price":"35.89","available":true,"url":"\/products\/fashion-solid-color-pocket-short-sleeve-t-shirt-1lws?variant=41f32285-112b-4069-a3bb-255cef42137e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":47,"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":"41f32285-112b-4069-a3bb-255cef42137e","product_id":"9a5bf744-ec18-4ab5-ac83-07f092f0b516","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-Black-S-A00441042","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e26028bb91c03d8ea603401ec3384c7.jpeg","path":"4e26028bb91c03d8ea603401ec3384c7.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.89","price":"18.99","retail_price":"35.89","available":true,"url":"\/products\/fashion-solid-color-pocket-short-sleeve-t-shirt-1lws?variant=41f32285-112b-4069-a3bb-255cef42137e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":0};
return `
`
}()}