${function() {
const variantData = data.variant || {"id":"baeee093-0440-4e31-93e9-dacfdf47e373","product_id":"b6657036-6aa2-485d-8401-62c086dbc875","title":"grey mom-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--grey mom-S-A0022639","barcode":"","position":1,"option1":"grey mom","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42aa18b0f4b269e27ae90688faf25870.jpg","path":"42aa18b0f4b269e27ae90688faf25870.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"33.99","retail_price":"55.99","available":true,"url":"\/products\/mom-and-dad-sweatshirts?variant=baeee093-0440-4e31-93e9-dacfdf47e373","available_quantity":1000,"options":[{"name":"color","value":"grey mom"},{"name":"size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"baeee093-0440-4e31-93e9-dacfdf47e373","product_id":"b6657036-6aa2-485d-8401-62c086dbc875","title":"grey mom-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--grey mom-S-A0022639","barcode":"","position":1,"option1":"grey mom","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42aa18b0f4b269e27ae90688faf25870.jpg","path":"42aa18b0f4b269e27ae90688faf25870.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"33.99","retail_price":"55.99","available":true,"url":"\/products\/mom-and-dad-sweatshirts?variant=baeee093-0440-4e31-93e9-dacfdf47e373","available_quantity":1000,"options":[{"name":"color","value":"grey mom"},{"name":"size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":0};
return `
`
}()}