${function() {
const variantData = data.variant || {"id":"1a6f6286-e490-465c-964a-783670c636a6","product_id":"df745872-8a0b-46a3-8e95-fb0d36b204fa","title":"Beige-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212142571-Beige-S","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/920d7d4ada735ae9cd20d40b867ce128.png","path":"920d7d4ada735ae9cd20d40b867ce128.png","width":800,"height":800,"alt":"God is Good all the Time Sweatshirt","aspect_ratio":1},"wholesale_price":[{"price":26.49,"min_quantity":1}],"weight":"0.4","compare_at_price":"39","price":"26.49","retail_price":"39","available":true,"url":"\/products\/god-is-good-all-the-time-sweatshirt?variant=1a6f6286-e490-465c-964a-783670c636a6","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":0};
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.