${function() {
const variantData = data.variant || {"id":"3be99315-c4f3-4cc3-87f5-d3b00939ebfd","product_id":"7816232d-d334-437f-989a-21f0235ecc06","title":"Black-S","weight_unit":"g","inventory_quantity":886,"sku":"101964570001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/94b1ef9368ed64a08dbbbe847350939d.jpeg","path":"94b1ef9368ed64a08dbbbe847350939d.jpeg","width":2000,"height":2000,"alt":"Smells Like Slut In Heart Print 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\/smells-like-slut-in-heart-print-womens-t-shirt?variant=3be99315-c4f3-4cc3-87f5-d3b00939ebfd","available_quantity":886,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":15};
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":"3be99315-c4f3-4cc3-87f5-d3b00939ebfd","product_id":"7816232d-d334-437f-989a-21f0235ecc06","title":"Black-S","weight_unit":"g","inventory_quantity":886,"sku":"101964570001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/94b1ef9368ed64a08dbbbe847350939d.jpeg","path":"94b1ef9368ed64a08dbbbe847350939d.jpeg","width":2000,"height":2000,"alt":"Smells Like Slut In Heart Print 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\/smells-like-slut-in-heart-print-womens-t-shirt?variant=3be99315-c4f3-4cc3-87f5-d3b00939ebfd","available_quantity":886,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":15};
return `
`
}()}