${function() {
const variantData = data.variant || {"id":"0b6fb5f0-5799-408a-acbe-f8304720eb43","product_id":"2d9c5f87-800c-4af0-b82f-42ee3e570022","title":"orange-s","weight_unit":"kg","inventory_quantity":999,"sku":"4852823","barcode":"4852823","position":6,"option1":"orange","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/92c942e1b5b9f5aeee9aad460d2807e1.webp","path":"92c942e1b5b9f5aeee9aad460d2807e1.webp","width":498,"height":499,"alt":"","aspect_ratio":0.9979959919839679},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/slim-round-neck-shirt-top?variant=0b6fb5f0-5799-408a-acbe-f8304720eb43","available_quantity":999999999,"options":[{"name":"Color","value":"orange"},{"name":"Size","value":"s"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : 4852823
Barcode : 4852823
${function(){
const variantData = data.variant || {"id":"0b6fb5f0-5799-408a-acbe-f8304720eb43","product_id":"2d9c5f87-800c-4af0-b82f-42ee3e570022","title":"orange-s","weight_unit":"kg","inventory_quantity":999,"sku":"4852823","barcode":"4852823","position":6,"option1":"orange","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/92c942e1b5b9f5aeee9aad460d2807e1.webp","path":"92c942e1b5b9f5aeee9aad460d2807e1.webp","width":498,"height":499,"alt":"","aspect_ratio":0.9979959919839679},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/slim-round-neck-shirt-top?variant=0b6fb5f0-5799-408a-acbe-f8304720eb43","available_quantity":999999999,"options":[{"name":"Color","value":"orange"},{"name":"Size","value":"s"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}