${function() {
const variantData = data.variant || {"id":"69de5946-7863-4d9e-b2fd-95a4457d85db","product_id":"2128b5da-0dee-4194-a001-36f85416eb40","title":"Golden yellow-FREESIZE","weight_unit":"g","inventory_quantity":20,"sku":"MQTS00444_GO_FREESIZE","barcode":"","position":1,"option1":"Golden yellow","option2":"FREESIZE","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d1965d0c1623d6015559789d8829838e.jpeg","path":"d1965d0c1623d6015559789d8829838e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"20","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/retro-metal-snake-diamond-necklace?variant=69de5946-7863-4d9e-b2fd-95a4457d85db","available_quantity":999999999,"options":[{"name":"Color","value":"Golden yellow"},{"name":"Size","value":"FREESIZE"}],"off_ratio":50,"flashsale_info":[],"sales":2};
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 : MQTS00444_GO_FREESIZE
Weight : 20g
${function(){
const variantData = data.variant || {"id":"69de5946-7863-4d9e-b2fd-95a4457d85db","product_id":"2128b5da-0dee-4194-a001-36f85416eb40","title":"Golden yellow-FREESIZE","weight_unit":"g","inventory_quantity":20,"sku":"MQTS00444_GO_FREESIZE","barcode":"","position":1,"option1":"Golden yellow","option2":"FREESIZE","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d1965d0c1623d6015559789d8829838e.jpeg","path":"d1965d0c1623d6015559789d8829838e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"20","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/retro-metal-snake-diamond-necklace?variant=69de5946-7863-4d9e-b2fd-95a4457d85db","available_quantity":999999999,"options":[{"name":"Color","value":"Golden yellow"},{"name":"Size","value":"FREESIZE"}],"off_ratio":50,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}