PLUS LOFTS Ivy Cap Herringbone Flat Caps 50% Wool Tweed Scally Cabbie Hat Newsboycap Bunnet Paddy Dai Cheese-cutter Driving Hats
${function() {
const variantData = data.variant || {"id":"c6cce5bc-5a81-4801-86a4-147ce28eb2ea","product_id":"94b78104-603e-4901-b84f-f5344fb5b41e","title":"Green-56-57 cm","weight_unit":"kg","inventory_quantity":658,"sku":"","barcode":"","position":1,"option1":"Green","option2":"56-57 cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed26a986c367daf5160cb82d007029e6.jpeg","path":"ed26a986c367daf5160cb82d007029e6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.2,"min_quantity":1}],"weight":"0.13","compare_at_price":"47.6","price":"26.2","retail_price":"47.6","available":true,"url":"\/products\/plus-lofts-ivy-cap-herringbone-flat-caps-50-wool-tweed-scally-cabbie-hat-newsboycap-bunnet-paddy-dai-cheese-cutter-driving-hats?variant=c6cce5bc-5a81-4801-86a4-147ce28eb2ea","available_quantity":999999999,"options":[{"name":"color","value":"Green"},{"name":"Hat Size","value":"56-57 cm"}],"off_ratio":45,"flashsale_info":[],"sales":817};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Green
${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:
56-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
$26.20
${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":"c6cce5bc-5a81-4801-86a4-147ce28eb2ea","product_id":"94b78104-603e-4901-b84f-f5344fb5b41e","title":"Green-56-57 cm","weight_unit":"kg","inventory_quantity":658,"sku":"","barcode":"","position":1,"option1":"Green","option2":"56-57 cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed26a986c367daf5160cb82d007029e6.jpeg","path":"ed26a986c367daf5160cb82d007029e6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.2,"min_quantity":1}],"weight":"0.13","compare_at_price":"47.6","price":"26.2","retail_price":"47.6","available":true,"url":"\/products\/plus-lofts-ivy-cap-herringbone-flat-caps-50-wool-tweed-scally-cabbie-hat-newsboycap-bunnet-paddy-dai-cheese-cutter-driving-hats?variant=c6cce5bc-5a81-4801-86a4-147ce28eb2ea","available_quantity":999999999,"options":[{"name":"color","value":"Green"},{"name":"Hat Size","value":"56-57 cm"}],"off_ratio":45,"flashsale_info":[],"sales":817};
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.