${function() {
const variantData = data.variant || {"id":"16d61c86-98e4-4a3f-8507-99d221490367","product_id":"9318cba7-3ca6-4ac1-b1b6-4e9aba4d7a14","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHnaiy9oA-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7e3f891dcb7e280ebfefdab082fc9686.jpeg","path":"7e3f891dcb7e280ebfefdab082fc9686.jpeg","width":1420,"height":1420,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"400","compare_at_price":"33","price":"19.89","retail_price":"33","available":true,"url":"\/products\/puff-print-washed-casual-street-shorts?variant=16d61c86-98e4-4a3f-8507-99d221490367","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":3};
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 : XHnaiy9oA-Black-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"16d61c86-98e4-4a3f-8507-99d221490367","product_id":"9318cba7-3ca6-4ac1-b1b6-4e9aba4d7a14","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHnaiy9oA-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7e3f891dcb7e280ebfefdab082fc9686.jpeg","path":"7e3f891dcb7e280ebfefdab082fc9686.jpeg","width":1420,"height":1420,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"400","compare_at_price":"33","price":"19.89","retail_price":"33","available":true,"url":"\/products\/puff-print-washed-casual-street-shorts?variant=16d61c86-98e4-4a3f-8507-99d221490367","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}