${function() {
const variantData = data.variant || {"id":"8a3a75b1-6f53-420e-b16f-093f850b632b","product_id":"89c7bfea-b6d3-4cbe-b44c-3e3b9c1b6cee","title":"White-S","weight_unit":"g","inventory_quantity":722,"sku":"101994390025","barcode":"","position":25,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/14e5fc381fd6b572e5dd6cd3b24a06a1.jpeg","path":"14e5fc381fd6b572e5dd6cd3b24a06a1.jpeg","width":2000,"height":2000,"alt":"Little Pecker Club Print Men'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\/little-pecher-club-print-mens-t-shirt-u9ps?variant=8a3a75b1-6f53-420e-b16f-093f850b632b","available_quantity":722,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":217};
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":"8a3a75b1-6f53-420e-b16f-093f850b632b","product_id":"89c7bfea-b6d3-4cbe-b44c-3e3b9c1b6cee","title":"White-S","weight_unit":"g","inventory_quantity":722,"sku":"101994390025","barcode":"","position":25,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/14e5fc381fd6b572e5dd6cd3b24a06a1.jpeg","path":"14e5fc381fd6b572e5dd6cd3b24a06a1.jpeg","width":2000,"height":2000,"alt":"Little Pecker Club Print Men'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\/little-pecher-club-print-mens-t-shirt-u9ps?variant=8a3a75b1-6f53-420e-b16f-093f850b632b","available_quantity":722,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":217};
return `
`
}()}