${function() {
const variantData = data.variant || {"id":"f825e745-9fc4-4f3b-8e21-27fa93238b8e","product_id":"45d3b89a-96a2-415d-ac57-7fe1b8a0f39a","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHMsq0ysZ-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33b0e015a37b94f246ffd774283f2185.jpeg","path":"33b0e015a37b94f246ffd774283f2185.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"400","compare_at_price":"50","price":"35.89","retail_price":"50","available":true,"url":"\/products\/casual-statement-zipper-printed-hoodie?variant=f825e745-9fc4-4f3b-8e21-27fa93238b8e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":28,"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 : XHMsq0ysZ-Black-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"f825e745-9fc4-4f3b-8e21-27fa93238b8e","product_id":"45d3b89a-96a2-415d-ac57-7fe1b8a0f39a","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHMsq0ysZ-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33b0e015a37b94f246ffd774283f2185.jpeg","path":"33b0e015a37b94f246ffd774283f2185.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"400","compare_at_price":"50","price":"35.89","retail_price":"50","available":true,"url":"\/products\/casual-statement-zipper-printed-hoodie?variant=f825e745-9fc4-4f3b-8e21-27fa93238b8e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}