PLUS LOFTS Newsboy Caps News Fashion Men Wool Blend Flat Cap 8 Pane Hat Driving Hats With Button Front Gatsby Cap For Male
${function() {
const variantData = data.variant || {"id":"4aa5f49f-f40e-404f-a925-d02f0fbe75f2","product_id":"9c726ee4-16b3-4ce8-a6db-015956f3796c","title":"Black-57 cm","weight_unit":"kg","inventory_quantity":934,"sku":"","barcode":"","position":1,"option1":"Black","option2":"57 cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0f665df75b22609d78fafeaa4d280865.jpeg","path":"0f665df75b22609d78fafeaa4d280865.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.7,"min_quantity":1}],"weight":"0.18","compare_at_price":"36.5","price":"23.7","retail_price":"36.5","available":true,"url":"\/products\/plus-lofts-newsboy-caps-news-fashion-men-wool-blend-flat-cap-8-pane-hat-driving-hats-with-button-front-gatsby-cap-for-male?variant=4aa5f49f-f40e-404f-a925-d02f0fbe75f2","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"Hat Size","value":"57 cm"}],"off_ratio":35,"flashsale_info":[],"sales":487};
const saveType = "amount";
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}
`
}()}
Hat Size:
57 cm
${function(){
const optName = "Hat 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
$23.70
${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":"4aa5f49f-f40e-404f-a925-d02f0fbe75f2","product_id":"9c726ee4-16b3-4ce8-a6db-015956f3796c","title":"Black-57 cm","weight_unit":"kg","inventory_quantity":934,"sku":"","barcode":"","position":1,"option1":"Black","option2":"57 cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0f665df75b22609d78fafeaa4d280865.jpeg","path":"0f665df75b22609d78fafeaa4d280865.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.7,"min_quantity":1}],"weight":"0.18","compare_at_price":"36.5","price":"23.7","retail_price":"36.5","available":true,"url":"\/products\/plus-lofts-newsboy-caps-news-fashion-men-wool-blend-flat-cap-8-pane-hat-driving-hats-with-button-front-gatsby-cap-for-male?variant=4aa5f49f-f40e-404f-a925-d02f0fbe75f2","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"Hat Size","value":"57 cm"}],"off_ratio":35,"flashsale_info":[],"sales":487};
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.