${function() {
const variantData = data.variant || {"id":"770a59cc-dd82-4c6b-bf2a-b2e4ae458f44","product_id":"8f1224ab-f7ce-4bce-9d3d-e944acc3ee04","title":"Black-S","weight_unit":"g","inventory_quantity":955,"sku":"101792010007","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8deca95629af9f900c4319eadd5a1bab.jpeg","path":"8deca95629af9f900c4319eadd5a1bab.jpeg","width":800,"height":800,"alt":"Octopus Print Men's Hoodie - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":31.98,"min_quantity":1}],"weight":"600","compare_at_price":"48.98","price":"31.98","retail_price":"48.98","available":true,"url":"\/products\/octopus-print-mens-hoodie?variant=770a59cc-dd82-4c6b-bf2a-b2e4ae458f44","available_quantity":955,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":2};
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":"770a59cc-dd82-4c6b-bf2a-b2e4ae458f44","product_id":"8f1224ab-f7ce-4bce-9d3d-e944acc3ee04","title":"Black-S","weight_unit":"g","inventory_quantity":955,"sku":"101792010007","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8deca95629af9f900c4319eadd5a1bab.jpeg","path":"8deca95629af9f900c4319eadd5a1bab.jpeg","width":800,"height":800,"alt":"Octopus Print Men's Hoodie - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":31.98,"min_quantity":1}],"weight":"600","compare_at_price":"48.98","price":"31.98","retail_price":"48.98","available":true,"url":"\/products\/octopus-print-mens-hoodie?variant=770a59cc-dd82-4c6b-bf2a-b2e4ae458f44","available_quantity":955,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":2};
return `
`
}()}