${function() {
const variantData = data.variant || {"id":"6ebab8b7-c978-4804-8c38-b038ce5a8f11","product_id":"07fef79b-a361-4a4a-9ea6-cf24a481b02a","title":"Dark_Gray-S","weight_unit":"g","inventory_quantity":9999,"sku":"XH8FULWr1-Dark_Gray-S","barcode":"","position":1,"option1":"Dark_Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7daae5c0be56b34d8b05e060e760165f.jpeg","path":"7daae5c0be56b34d8b05e060e760165f.jpeg","width":944,"height":944,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"666","compare_at_price":"88","price":"39.89","retail_price":"88","available":true,"url":"\/products\/cross-black-and-white-patch-denim?variant=6ebab8b7-c978-4804-8c38-b038ce5a8f11","available_quantity":999999999,"options":[{"name":"Color","value":"Dark_Gray"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":1};
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 : XH8FULWr1-Dark_Gray-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"6ebab8b7-c978-4804-8c38-b038ce5a8f11","product_id":"07fef79b-a361-4a4a-9ea6-cf24a481b02a","title":"Dark_Gray-S","weight_unit":"g","inventory_quantity":9999,"sku":"XH8FULWr1-Dark_Gray-S","barcode":"","position":1,"option1":"Dark_Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7daae5c0be56b34d8b05e060e760165f.jpeg","path":"7daae5c0be56b34d8b05e060e760165f.jpeg","width":944,"height":944,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"666","compare_at_price":"88","price":"39.89","retail_price":"88","available":true,"url":"\/products\/cross-black-and-white-patch-denim?variant=6ebab8b7-c978-4804-8c38-b038ce5a8f11","available_quantity":999999999,"options":[{"name":"Color","value":"Dark_Gray"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}