${function() {
const variantData = data.variant || {"id":"83964ab2-d4dc-423c-92c2-77f75c5fc1bd","product_id":"6bb70d96-2429-454b-baf1-c5c3f7a14ff7","title":"Khaki-S","weight_unit":"kg","inventory_quantity":0,"sku":"2301143382-Khaki-S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/23007c0a0edb1fbd442c11b51d298b7b.png","path":"23007c0a0edb1fbd442c11b51d298b7b.png","width":1000,"height":1300,"alt":"SILLY GOOSE Prints Characteristic Sweatshirt","aspect_ratio":0.7692307692307693},"wholesale_price":[{"price":26.45,"min_quantity":1}],"weight":"0.4","compare_at_price":"36","price":"26.45","retail_price":"36","available":true,"url":"\/products\/silly-goose-prints-characteristic-sweatshirt?variant=83964ab2-d4dc-423c-92c2-77f75c5fc1bd","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":27,"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.