${function() {
const variantData = data.variant || {"id":"30022d3a-a50c-4c48-b2dd-21651e754111","product_id":"2002b64c-2ab0-42e8-846b-1db46629095f","title":"Black-S","weight_unit":"g","inventory_quantity":618,"sku":"101866960008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ad3bfa40c173c8fa630a76773fe3b1c.jpeg","path":"3ad3bfa40c173c8fa630a76773fe3b1c.jpeg","width":800,"height":800,"alt":"The Road Calling Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"219","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/the-road-calling-printed-womens-t-shirt?variant=30022d3a-a50c-4c48-b2dd-21651e754111","available_quantity":618,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"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.
${function(){
const variantData = data.variant || {"id":"30022d3a-a50c-4c48-b2dd-21651e754111","product_id":"2002b64c-2ab0-42e8-846b-1db46629095f","title":"Black-S","weight_unit":"g","inventory_quantity":618,"sku":"101866960008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ad3bfa40c173c8fa630a76773fe3b1c.jpeg","path":"3ad3bfa40c173c8fa630a76773fe3b1c.jpeg","width":800,"height":800,"alt":"The Road Calling Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"219","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/the-road-calling-printed-womens-t-shirt?variant=30022d3a-a50c-4c48-b2dd-21651e754111","available_quantity":618,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
`
}()}