${function() {
const variantData = data.variant || {"id":"f2da2b98-e2b2-4256-9747-c2cc9b7488d5","product_id":"fc530a58-95e3-488b-a9b6-1e355e3369d8","title":"5771-Yellow[S Knitted Hat]-One Size Fits All","weight_unit":"g","inventory_quantity":999,"sku":"XHeDZhw8N-5771-Yellow[SKnittedHat]-OneSizeFitsAll","barcode":"","position":3,"option1":"5771-Yellow[S Knitted Hat]","option2":"One Size Fits All","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6f79255d77c0575d7e1194b32f93a788.jpeg","path":"6f79255d77c0575d7e1194b32f93a788.jpeg","width":693,"height":693,"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=f2da2b98-e2b2-4256-9747-c2cc9b7488d5","available_quantity":999999999,"options":[{"name":"Color","value":"5771-Yellow[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-Yellow[SKnittedHat]-OneSizeFitsAll
Weight : 100g
${function(){
const variantData = data.variant || {"id":"f2da2b98-e2b2-4256-9747-c2cc9b7488d5","product_id":"fc530a58-95e3-488b-a9b6-1e355e3369d8","title":"5771-Yellow[S Knitted Hat]-One Size Fits All","weight_unit":"g","inventory_quantity":999,"sku":"XHeDZhw8N-5771-Yellow[SKnittedHat]-OneSizeFitsAll","barcode":"","position":3,"option1":"5771-Yellow[S Knitted Hat]","option2":"One Size Fits All","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6f79255d77c0575d7e1194b32f93a788.jpeg","path":"6f79255d77c0575d7e1194b32f93a788.jpeg","width":693,"height":693,"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=f2da2b98-e2b2-4256-9747-c2cc9b7488d5","available_quantity":999999999,"options":[{"name":"Color","value":"5771-Yellow[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}
`
}()}