Cartoon Fire Nation Wool Hat Avatar Last Air Bender Embroidered Knit Hat Beanie
${function() {
const variantData = data.variant || {"id":"01e68f4d-a1c5-45e8-abe9-01e1a3962815","product_id":"9e531e0d-9af7-4bd7-b839-55b5c57ee40a","title":"black-Adjustable","weight_unit":"kg","inventory_quantity":998,"sku":"642614239350-black-Adjustable","barcode":"","position":1,"option1":"black","option2":"Adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fd0a95dc8b49134ac490ba8671aa639c.jpeg","path":"fd0a95dc8b49134ac490ba8671aa639c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0.07","compare_at_price":"29","price":"22","retail_price":"29","available":true,"url":"\/products\/cartoon-fire-nation-wool-hat-avatar-last-air-bender-embroidered-knit-hat-beanie?variant=01e68f4d-a1c5-45e8-abe9-01e1a3962815","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"Adjustable"}],"off_ratio":24,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
color:
black
${function(){
const optName = "color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
size:
Adjustable
${function(){
const optName = "size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$22.00
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"01e68f4d-a1c5-45e8-abe9-01e1a3962815","product_id":"9e531e0d-9af7-4bd7-b839-55b5c57ee40a","title":"black-Adjustable","weight_unit":"kg","inventory_quantity":998,"sku":"642614239350-black-Adjustable","barcode":"","position":1,"option1":"black","option2":"Adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fd0a95dc8b49134ac490ba8671aa639c.jpeg","path":"fd0a95dc8b49134ac490ba8671aa639c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0.07","compare_at_price":"29","price":"22","retail_price":"29","available":true,"url":"\/products\/cartoon-fire-nation-wool-hat-avatar-last-air-bender-embroidered-knit-hat-beanie?variant=01e68f4d-a1c5-45e8-abe9-01e1a3962815","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"Adjustable"}],"off_ratio":24,"flashsale_info":[],"sales":3};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
North America: 10-15 days;
Europe: 5-10 days;