${function() {
const variantData = data.variant || {"id":"5a37014e-6e80-4878-b4ca-1d0f795e3994","product_id":"fc45077c-168b-4173-b4b6-82f8180bb88c","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Blue S-41890651","barcode":"","position":6,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2f59dbe8e17d3e399a9f39205ef0b69c.jpeg","path":"2f59dbe8e17d3e399a9f39205ef0b69c.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.33,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.33","retail_price":"0","available":true,"url":"\/products\/womens-high-waist-solid-retro-straight-flared-loose-street-pants-208565336466?variant=5a37014e-6e80-4878-b4ca-1d0f795e3994","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"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":"5a37014e-6e80-4878-b4ca-1d0f795e3994","product_id":"fc45077c-168b-4173-b4b6-82f8180bb88c","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Blue S-41890651","barcode":"","position":6,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2f59dbe8e17d3e399a9f39205ef0b69c.jpeg","path":"2f59dbe8e17d3e399a9f39205ef0b69c.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.33,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.33","retail_price":"0","available":true,"url":"\/products\/womens-high-waist-solid-retro-straight-flared-loose-street-pants-208565336466?variant=5a37014e-6e80-4878-b4ca-1d0f795e3994","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}