${function() {
const variantData = data.variant || {"id":"3f056f06-4907-4c47-85fa-c7aa0ac5aac3","product_id":"aaf89bf9-0c1f-49ad-bc56-f190c6ec8393","title":"Black-M","weight_unit":"kg","inventory_quantity":1000,"sku":"YEYS-22062707-Black-M","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d90f6a360c294aadc1bf4033924b3dbb.jpeg","path":"d90f6a360c294aadc1bf4033924b3dbb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/mens-casual-outfit-sets-ap50?variant=3f056f06-4907-4c47-85fa-c7aa0ac5aac3","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "amount";
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 : YEYS-22062707-Black-M
${function(){
const variantData = data.variant || {"id":"3f056f06-4907-4c47-85fa-c7aa0ac5aac3","product_id":"aaf89bf9-0c1f-49ad-bc56-f190c6ec8393","title":"Black-M","weight_unit":"kg","inventory_quantity":1000,"sku":"YEYS-22062707-Black-M","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d90f6a360c294aadc1bf4033924b3dbb.jpeg","path":"d90f6a360c294aadc1bf4033924b3dbb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/mens-casual-outfit-sets-ap50?variant=3f056f06-4907-4c47-85fa-c7aa0ac5aac3","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}