Hats For Adults Knitted Cashmere Hooded Drawstring Solid Color Adjustable Elastic Hat
${function() {
const variantData = data.variant || {"id":"20bdbbb1-02c1-489d-841d-f4a8435d924c","product_id":"da9940e4-d7b5-4051-a866-e2bfe1b2e026","title":"16 White-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"MFOX-400010645715-Whi","barcode":"","position":1,"option1":"16 White","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d905ba36f9e560212786ce795187b54.jpeg","path":"0d905ba36f9e560212786ce795187b54.jpeg","width":527,"height":772,"alt":"","aspect_ratio":0.6826424870466321},"wholesale_price":[{"price":31.04,"min_quantity":1}],"weight":"0.3","compare_at_price":"26.99","price":"31.04","retail_price":"26.99","available":true,"url":"\/products\/hats-for-adults-knitted-cashmere-hooded-drawstring-solid-color-adjustable-elastic-hat?variant=20bdbbb1-02c1-489d-841d-f4a8435d924c","available_quantity":1000,"options":[{"name":"Color","value":"16 White"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
16 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:
One Size
${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
$31.04
${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":"20bdbbb1-02c1-489d-841d-f4a8435d924c","product_id":"da9940e4-d7b5-4051-a866-e2bfe1b2e026","title":"16 White-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"MFOX-400010645715-Whi","barcode":"","position":1,"option1":"16 White","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d905ba36f9e560212786ce795187b54.jpeg","path":"0d905ba36f9e560212786ce795187b54.jpeg","width":527,"height":772,"alt":"","aspect_ratio":0.6826424870466321},"wholesale_price":[{"price":31.04,"min_quantity":1}],"weight":"0.3","compare_at_price":"26.99","price":"31.04","retail_price":"26.99","available":true,"url":"\/products\/hats-for-adults-knitted-cashmere-hooded-drawstring-solid-color-adjustable-elastic-hat?variant=20bdbbb1-02c1-489d-841d-f4a8435d924c","available_quantity":1000,"options":[{"name":"Color","value":"16 White"},{"name":"Size","value":"One Size"}],"off_ratio":0,"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;