${function() {
const variantData = data.variant || {"id":"2adb34a3-2d66-49dc-86be-e2481f2d7a54","product_id":"6a16083a-7ba8-43da-81de-b3515bc42205","title":"Black-S","weight_unit":"g","inventory_quantity":878,"sku":"101818870001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/407f2aa2aa3e097db66febc99f3ed8aa.jpeg","path":"407f2aa2aa3e097db66febc99f3ed8aa.jpeg","width":800,"height":800,"alt":"Hold On Let Me Overthink This Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/hold-on-let-me-overthink-this-printed-womens-t-shirt?variant=2adb34a3-2d66-49dc-86be-e2481f2d7a54","available_quantity":878,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":37};
const saveType = "percentage";
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":"2adb34a3-2d66-49dc-86be-e2481f2d7a54","product_id":"6a16083a-7ba8-43da-81de-b3515bc42205","title":"Black-S","weight_unit":"g","inventory_quantity":878,"sku":"101818870001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/407f2aa2aa3e097db66febc99f3ed8aa.jpeg","path":"407f2aa2aa3e097db66febc99f3ed8aa.jpeg","width":800,"height":800,"alt":"Hold On Let Me Overthink This Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/hold-on-let-me-overthink-this-printed-womens-t-shirt?variant=2adb34a3-2d66-49dc-86be-e2481f2d7a54","available_quantity":878,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":37};
return `
`
}()}