Backwoods Knitted Hat Beanies Lettering Cap Winter Hats Warm Hat Fashion Solid Hip-hop Beanie Hat Unisex Caps
${function() {
const variantData = data.variant || {"id":"6f51c8b3-0bd4-4374-9d79-48a8f252ea91","product_id":"cb3a9fe5-cf0b-46cb-bd18-3c265c22fa2a","title":"White-55-60 cm","weight_unit":"kg","inventory_quantity":958,"sku":"1005001423412590-White-55-60-cm","barcode":"","position":1,"option1":"White","option2":"55-60 cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6138e599273a272a01458b6e0611e973.jpeg","path":"6138e599273a272a01458b6e0611e973.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"25","price":"22.99","retail_price":"25","available":true,"url":"\/products\/backwoods-knitted-hat-beanies-lettering-cap-winter-hats-warm-hat-fashion-solid-hip-hop-beanie-hat-unisex-caps?variant=6f51c8b3-0bd4-4374-9d79-48a8f252ea91","available_quantity":958,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"55-60 cm"}],"off_ratio":8,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
White
${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:
55-60 cm
${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.99
${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":"6f51c8b3-0bd4-4374-9d79-48a8f252ea91","product_id":"cb3a9fe5-cf0b-46cb-bd18-3c265c22fa2a","title":"White-55-60 cm","weight_unit":"kg","inventory_quantity":958,"sku":"1005001423412590-White-55-60-cm","barcode":"","position":1,"option1":"White","option2":"55-60 cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6138e599273a272a01458b6e0611e973.jpeg","path":"6138e599273a272a01458b6e0611e973.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"25","price":"22.99","retail_price":"25","available":true,"url":"\/products\/backwoods-knitted-hat-beanies-lettering-cap-winter-hats-warm-hat-fashion-solid-hip-hop-beanie-hat-unisex-caps?variant=6f51c8b3-0bd4-4374-9d79-48a8f252ea91","available_quantity":958,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"55-60 cm"}],"off_ratio":8,"flashsale_info":[],"sales":1};
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;