${function() {
const variantData = data.variant || {"id":"cbc07aca-51bf-4e2a-8494-74ded67dfa4b","product_id":"6feeb74e-95b1-4f46-9344-077af8685f5a","title":"Orange-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHOCejnLE-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/707fd7cefba955979a708f89053c68fa.jpeg","path":"707fd7cefba955979a708f89053c68fa.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"19.89","retail_price":"33","available":true,"url":"\/products\/casual-street-printed-patch-t-shirt?variant=cbc07aca-51bf-4e2a-8494-74ded67dfa4b","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":7};
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 : XHOCejnLE-Orange-S
Weight : 222g
${function(){
const variantData = data.variant || {"id":"cbc07aca-51bf-4e2a-8494-74ded67dfa4b","product_id":"6feeb74e-95b1-4f46-9344-077af8685f5a","title":"Orange-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHOCejnLE-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/707fd7cefba955979a708f89053c68fa.jpeg","path":"707fd7cefba955979a708f89053c68fa.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"19.89","retail_price":"33","available":true,"url":"\/products\/casual-street-printed-patch-t-shirt?variant=cbc07aca-51bf-4e2a-8494-74ded67dfa4b","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":7};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}