${function() {
const variantData = data.variant || {"id":"992fb99b-e745-493d-8397-a7d84c6df0cb","product_id":"090dfc69-2039-47d6-89e7-4d4a6ef20faa","title":"Brown-S","weight_unit":"g","inventory_quantity":999,"sku":"XHv7twRha-Brown-S","barcode":"","position":13,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7bff980248e6914965941c4e4c2d8e3a.jpeg","path":"7bff980248e6914965941c4e4c2d8e3a.jpeg","width":1376,"height":1376,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"18.89","retail_price":"29","available":true,"url":"\/products\/24-hours-print-short-sleeve-t-shirt?variant=992fb99b-e745-493d-8397-a7d84c6df0cb","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":21};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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.
Sku : XHv7twRha-Brown-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"992fb99b-e745-493d-8397-a7d84c6df0cb","product_id":"090dfc69-2039-47d6-89e7-4d4a6ef20faa","title":"Brown-S","weight_unit":"g","inventory_quantity":999,"sku":"XHv7twRha-Brown-S","barcode":"","position":13,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7bff980248e6914965941c4e4c2d8e3a.jpeg","path":"7bff980248e6914965941c4e4c2d8e3a.jpeg","width":1376,"height":1376,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"18.89","retail_price":"29","available":true,"url":"\/products\/24-hours-print-short-sleeve-t-shirt?variant=992fb99b-e745-493d-8397-a7d84c6df0cb","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":21};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}