${function() {
const variantData = data.variant || {"id":"b3b1df85-4fe5-4c1f-8858-930f66006c2e","product_id":"7c55d5ec-cc51-4d6a-9f96-6abb7a723b1c","title":"Black-One Size","weight_unit":"g","inventory_quantity":680,"sku":"102159470001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8fcc3db00e3ce2daca539920e37bf552.jpeg","path":"8fcc3db00e3ce2daca539920e37bf552.jpeg","width":2000,"height":2000,"alt":"Unholy Letter Baseball Cap - ","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"123.5","compare_at_price":"19.98","price":"12.98","retail_price":"19.98","available":true,"url":"\/products\/unholy-letter-baseball-cap?variant=b3b1df85-4fe5-4c1f-8858-930f66006c2e","available_quantity":680,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":35,"flashsale_info":[],"sales":172};
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":"b3b1df85-4fe5-4c1f-8858-930f66006c2e","product_id":"7c55d5ec-cc51-4d6a-9f96-6abb7a723b1c","title":"Black-One Size","weight_unit":"g","inventory_quantity":680,"sku":"102159470001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8fcc3db00e3ce2daca539920e37bf552.jpeg","path":"8fcc3db00e3ce2daca539920e37bf552.jpeg","width":2000,"height":2000,"alt":"Unholy Letter Baseball Cap - ","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"123.5","compare_at_price":"19.98","price":"12.98","retail_price":"19.98","available":true,"url":"\/products\/unholy-letter-baseball-cap?variant=b3b1df85-4fe5-4c1f-8858-930f66006c2e","available_quantity":680,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":35,"flashsale_info":[],"sales":172};
return `
`
}()}