${function() {
const variantData = data.variant || {"id":"17c07859-df1d-44af-9f13-0967fbf7eb6b","product_id":"80e1b50c-126f-4cfb-941f-06c3fc209b03","title":"Gray-Adjustable","weight_unit":"g","inventory_quantity":999,"sku":"XHJ8PGwQK-Gray-Adjustable","barcode":"","position":3,"option1":"Gray","option2":"Adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7bbd61678e8266238bb798e285306483.jpeg","path":"7bbd61678e8266238bb798e285306483.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=17c07859-df1d-44af-9f13-0967fbf7eb6b","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"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-Gray-Adjustable
Weight : 100g
${function(){
const variantData = data.variant || {"id":"17c07859-df1d-44af-9f13-0967fbf7eb6b","product_id":"80e1b50c-126f-4cfb-941f-06c3fc209b03","title":"Gray-Adjustable","weight_unit":"g","inventory_quantity":999,"sku":"XHJ8PGwQK-Gray-Adjustable","barcode":"","position":3,"option1":"Gray","option2":"Adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7bbd61678e8266238bb798e285306483.jpeg","path":"7bbd61678e8266238bb798e285306483.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=17c07859-df1d-44af-9f13-0967fbf7eb6b","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"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}
`
}()}