${function() {
const variantData = data.variant || {"id":"454e0bec-314d-413d-842c-3a57d9bc542a","product_id":"df745872-8a0b-46a3-8e95-fb0d36b204fa","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212142571-Black-S","barcode":"","position":13,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/52c3e65149227d364d61acfb1776ca61.png","path":"52c3e65149227d364d61acfb1776ca61.png","width":808,"height":808,"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=454e0bec-314d-413d-842c-3a57d9bc542a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.