${function() {
const variantData = data.variant || {"id":"7ee22b0d-293e-4f85-8044-6b5842e7a6a7","product_id":"80e1b50c-126f-4cfb-941f-06c3fc209b03","title":"Claret-Adjustable","weight_unit":"g","inventory_quantity":999,"sku":"XHJ8PGwQK-Claret-Adjustable","barcode":"","position":2,"option1":"Claret","option2":"Adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d109196bab716bcaa9022ac8a196aa46.jpeg","path":"d109196bab716bcaa9022ac8a196aa46.jpeg","width":1280,"height":1280,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.89,"min_quantity":1}],"weight":"100","compare_at_price":"15","price":"9.89","retail_price":"15","available":true,"url":"\/products\/trendy-retro-knitted-all-match-warm-beanie?variant=7ee22b0d-293e-4f85-8044-6b5842e7a6a7","available_quantity":999999999,"options":[{"name":"Color","value":"Claret"},{"name":"Size","value":"Adjustable"}],"off_ratio":34,"flashsale_info":[],"sales":1};
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 : XHJ8PGwQK-Claret-Adjustable
Weight : 100g
${function(){
const variantData = data.variant || {"id":"7ee22b0d-293e-4f85-8044-6b5842e7a6a7","product_id":"80e1b50c-126f-4cfb-941f-06c3fc209b03","title":"Claret-Adjustable","weight_unit":"g","inventory_quantity":999,"sku":"XHJ8PGwQK-Claret-Adjustable","barcode":"","position":2,"option1":"Claret","option2":"Adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d109196bab716bcaa9022ac8a196aa46.jpeg","path":"d109196bab716bcaa9022ac8a196aa46.jpeg","width":1280,"height":1280,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.89,"min_quantity":1}],"weight":"100","compare_at_price":"15","price":"9.89","retail_price":"15","available":true,"url":"\/products\/trendy-retro-knitted-all-match-warm-beanie?variant=7ee22b0d-293e-4f85-8044-6b5842e7a6a7","available_quantity":999999999,"options":[{"name":"Color","value":"Claret"},{"name":"Size","value":"Adjustable"}],"off_ratio":34,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}