${function() {
const variantData = data.variant || {"id":"dd8622c5-bbbe-4ce4-af14-6b3ae9d7da3f","product_id":"9fe29b90-df62-401a-93ed-aefbef45deeb","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XH4XT3PSr-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d6c1d4cd7e2a7dbfed466bf49d7478e5.jpeg","path":"d6c1d4cd7e2a7dbfed466bf49d7478e5.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"300","compare_at_price":"43","price":"31.89","retail_price":"43","available":true,"url":"\/products\/retro-street-skull-print-long-sleeve-hoodie?variant=dd8622c5-bbbe-4ce4-af14-6b3ae9d7da3f","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":10};
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 : XH4XT3PSr-Black-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"dd8622c5-bbbe-4ce4-af14-6b3ae9d7da3f","product_id":"9fe29b90-df62-401a-93ed-aefbef45deeb","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XH4XT3PSr-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d6c1d4cd7e2a7dbfed466bf49d7478e5.jpeg","path":"d6c1d4cd7e2a7dbfed466bf49d7478e5.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"300","compare_at_price":"43","price":"31.89","retail_price":"43","available":true,"url":"\/products\/retro-street-skull-print-long-sleeve-hoodie?variant=dd8622c5-bbbe-4ce4-af14-6b3ae9d7da3f","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":10};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}