${function() {
const variantData = data.variant || {"id":"631dee1c-ec26-4b23-89c0-d82f6a6268d1","product_id":"89fc0e69-e1b3-41e3-849b-18c5be8115ea","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHRe6gaK3-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1f829937054358f778f9b007e8f425a2.jpeg","path":"1f829937054358f778f9b007e8f425a2.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"18.89","retail_price":"33","available":true,"url":"\/products\/no-88-printed-casual-street-t-shirt?variant=631dee1c-ec26-4b23-89c0-d82f6a6268d1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":0};
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 : XHRe6gaK3-Black-S
Weight : 222g
${function(){
const variantData = data.variant || {"id":"631dee1c-ec26-4b23-89c0-d82f6a6268d1","product_id":"89fc0e69-e1b3-41e3-849b-18c5be8115ea","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHRe6gaK3-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1f829937054358f778f9b007e8f425a2.jpeg","path":"1f829937054358f778f9b007e8f425a2.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"18.89","retail_price":"33","available":true,"url":"\/products\/no-88-printed-casual-street-t-shirt?variant=631dee1c-ec26-4b23-89c0-d82f6a6268d1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}