${function() {
const variantData = data.variant || {"id":"499e8658-6256-4d4e-99d5-a9427fcd410c","product_id":"5c505685-f9a4-4864-b181-dbcfd709e8ab","title":"Orange-S","weight_unit":"g","inventory_quantity":999,"sku":"XH2DdYhK4-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/de9646afe546991ebc1763bd27a8d9d8.jpeg","path":"de9646afe546991ebc1763bd27a8d9d8.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"29.89","retail_price":"39","available":true,"url":"\/products\/casual-hollywood-letter-print-pocket-flared-trousers?variant=499e8658-6256-4d4e-99d5-a9427fcd410c","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":113};
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 : XH2DdYhK4-Orange-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"499e8658-6256-4d4e-99d5-a9427fcd410c","product_id":"5c505685-f9a4-4864-b181-dbcfd709e8ab","title":"Orange-S","weight_unit":"g","inventory_quantity":999,"sku":"XH2DdYhK4-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/de9646afe546991ebc1763bd27a8d9d8.jpeg","path":"de9646afe546991ebc1763bd27a8d9d8.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"29.89","retail_price":"39","available":true,"url":"\/products\/casual-hollywood-letter-print-pocket-flared-trousers?variant=499e8658-6256-4d4e-99d5-a9427fcd410c","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":113};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}