Gradient Knit Beanie
${function() {
const variantData = data.variant || {"id":"59023bff-50c2-4c5a-941f-876a1eea2ef3","product_id":"1fcaf7da-eedc-4c0e-839b-f0d2331c2406","title":"Mustard-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"100100225485188","barcode":"","position":2,"option1":"Mustard","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec42bb29e938e60796b69b002c0462d7.jpeg","path":"ec42bb29e938e60796b69b002c0462d7.jpeg","width":1000,"height":1500,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":20.4,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.4","retail_price":"0","available":true,"url":"\/products\/gradient-knit-beanie?variant=59023bff-50c2-4c5a-941f-876a1eea2ef3","available_quantity":999999999,"options":[{"name":"Color","value":"Mustard"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${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.
${function(){
const variantData = data.variant || {"id":"59023bff-50c2-4c5a-941f-876a1eea2ef3","product_id":"1fcaf7da-eedc-4c0e-839b-f0d2331c2406","title":"Mustard-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"100100225485188","barcode":"","position":2,"option1":"Mustard","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec42bb29e938e60796b69b002c0462d7.jpeg","path":"ec42bb29e938e60796b69b002c0462d7.jpeg","width":1000,"height":1500,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":20.4,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.4","retail_price":"0","available":true,"url":"\/products\/gradient-knit-beanie?variant=59023bff-50c2-4c5a-941f-876a1eea2ef3","available_quantity":999999999,"options":[{"name":"Color","value":"Mustard"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}