${function() {
const variantData = data.variant || {"id":"17b221e7-033a-4569-8df2-40f342d7e3a2","product_id":"83ac090d-1dbb-417c-9ac1-99f77bbf1f0c","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHhee2glw-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/55269252c4889c4c7566adb691d99338.jpeg","path":"55269252c4889c4c7566adb691d99338.jpeg","width":1013,"height":1013,"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\/casual-street-patchwork-denim?variant=17b221e7-033a-4569-8df2-40f342d7e3a2","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":2};
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 : XHhee2glw-Black-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"17b221e7-033a-4569-8df2-40f342d7e3a2","product_id":"83ac090d-1dbb-417c-9ac1-99f77bbf1f0c","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHhee2glw-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/55269252c4889c4c7566adb691d99338.jpeg","path":"55269252c4889c4c7566adb691d99338.jpeg","width":1013,"height":1013,"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\/casual-street-patchwork-denim?variant=17b221e7-033a-4569-8df2-40f342d7e3a2","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}