${function() {
const variantData = data.variant || {"id":"2710dadb-3f9e-4ee1-9c34-b441bf69d45c","product_id":"203ffd00-9565-48d6-bd8c-b3a59c20e46a","title":"Yellow-s","weight_unit":"kg","inventory_quantity":999,"sku":"4913189","barcode":"4913189","position":1,"option1":"Yellow","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36b47719ecc4f20bfc26c15e8893e948.webp","path":"36b47719ecc4f20bfc26c15e8893e948.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.15,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"31.15","retail_price":"0","available":true,"url":"\/products\/yue797ca7fb5c3?variant=2710dadb-3f9e-4ee1-9c34-b441bf69d45c","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"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 : 4913189
Weight : 0.25kg
Barcode : 4913189
${function(){
const variantData = data.variant || {"id":"2710dadb-3f9e-4ee1-9c34-b441bf69d45c","product_id":"203ffd00-9565-48d6-bd8c-b3a59c20e46a","title":"Yellow-s","weight_unit":"kg","inventory_quantity":999,"sku":"4913189","barcode":"4913189","position":1,"option1":"Yellow","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36b47719ecc4f20bfc26c15e8893e948.webp","path":"36b47719ecc4f20bfc26c15e8893e948.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.15,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"31.15","retail_price":"0","available":true,"url":"\/products\/yue797ca7fb5c3?variant=2710dadb-3f9e-4ee1-9c34-b441bf69d45c","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"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}
`
}()}