${function() {
const variantData = data.variant || {"id":"daae2408-897e-4c3f-90f7-d30301c6371a","product_id":"276d130f-febb-46df-a7f8-1a0f89f950d1","title":"White-3XL","weight_unit":"g","inventory_quantity":730,"sku":"100702760001","barcode":"","position":1,"option1":"White","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/11482820db6e38cbcc2c9810fde2204f.jpeg","path":"11482820db6e38cbcc2c9810fde2204f.jpeg","width":800,"height":800,"alt":"Classic letter skeleton printing white T-shirt designer - ","aspect_ratio":1},"wholesale_price":[{"price":17.98,"min_quantity":1}],"weight":"220","compare_at_price":"32.63","price":"17.98","retail_price":"32.63","available":true,"url":"\/products\/classic-letter-skeleton-printing-white-t-shirt-designer?variant=daae2408-897e-4c3f-90f7-d30301c6371a","available_quantity":730,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"3XL"}],"off_ratio":45,"flashsale_info":[],"sales":267};
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":"daae2408-897e-4c3f-90f7-d30301c6371a","product_id":"276d130f-febb-46df-a7f8-1a0f89f950d1","title":"White-3XL","weight_unit":"g","inventory_quantity":730,"sku":"100702760001","barcode":"","position":1,"option1":"White","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/11482820db6e38cbcc2c9810fde2204f.jpeg","path":"11482820db6e38cbcc2c9810fde2204f.jpeg","width":800,"height":800,"alt":"Classic letter skeleton printing white T-shirt designer - ","aspect_ratio":1},"wholesale_price":[{"price":17.98,"min_quantity":1}],"weight":"220","compare_at_price":"32.63","price":"17.98","retail_price":"32.63","available":true,"url":"\/products\/classic-letter-skeleton-printing-white-t-shirt-designer?variant=daae2408-897e-4c3f-90f7-d30301c6371a","available_quantity":730,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"3XL"}],"off_ratio":45,"flashsale_info":[],"sales":267};
return `
`
}()}