${function() {
const variantData = data.variant || {"id":"6bffb36f-89b0-409d-a964-fd3391243dec","product_id":"fc530a58-95e3-488b-a9b6-1e355e3369d8","title":"5771-Red[S Knitted Hat]-One Size Fits All","weight_unit":"g","inventory_quantity":999,"sku":"XHeDZhw8N-5771-Red[SKnittedHat]-OneSizeFitsAll","barcode":"","position":2,"option1":"5771-Red[S Knitted Hat]","option2":"One Size Fits All","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/846bb92e9481289060442f778cc6cb1b.jpeg","path":"846bb92e9481289060442f778cc6cb1b.jpeg","width":692,"height":692,"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\/embroidered-cold-hat-knitted-hat-woolen-hat-couple-pointed-hat?variant=6bffb36f-89b0-409d-a964-fd3391243dec","available_quantity":999999999,"options":[{"name":"Color","value":"5771-Red[S Knitted Hat]"},{"name":"Size","value":"One Size Fits All"}],"off_ratio":34,"flashsale_info":[],"sales":5};
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 : XHeDZhw8N-5771-Red[SKnittedHat]-OneSizeFitsAll
Weight : 100g
${function(){
const variantData = data.variant || {"id":"6bffb36f-89b0-409d-a964-fd3391243dec","product_id":"fc530a58-95e3-488b-a9b6-1e355e3369d8","title":"5771-Red[S Knitted Hat]-One Size Fits All","weight_unit":"g","inventory_quantity":999,"sku":"XHeDZhw8N-5771-Red[SKnittedHat]-OneSizeFitsAll","barcode":"","position":2,"option1":"5771-Red[S Knitted Hat]","option2":"One Size Fits All","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/846bb92e9481289060442f778cc6cb1b.jpeg","path":"846bb92e9481289060442f778cc6cb1b.jpeg","width":692,"height":692,"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\/embroidered-cold-hat-knitted-hat-woolen-hat-couple-pointed-hat?variant=6bffb36f-89b0-409d-a964-fd3391243dec","available_quantity":999999999,"options":[{"name":"Color","value":"5771-Red[S Knitted Hat]"},{"name":"Size","value":"One Size Fits All"}],"off_ratio":34,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}