Protection Sun Hats Packable Summer Hat Women w/Ponytail Chin Strap 55-61CM
${function() {
const variantData = data.variant || {"id":"2dd337e6-5c64-440e-a1f4-0b342c6b220f","product_id":"716970d8-4ba9-448b-979f-dfc3bc3127fb","title":"69053_beige-Large","weight_unit":"kg","inventory_quantity":3,"sku":"11074-69053_beige-Large","barcode":"","position":1,"option1":"69053_beige","option2":"Large","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ccf7b016b313ab0de0e661f3dc8a00e3.jpeg","path":"ccf7b016b313ab0de0e661f3dc8a00e3.jpeg","width":849,"height":1001,"alt":"","aspect_ratio":0.8481518481518482},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0","compare_at_price":"50.99","price":"47.99","retail_price":"50.99","available":true,"url":"\/products\/protection-sun-hats-packable-summer-hat-women-w-ponytail-chin-strap-55-61cm?variant=2dd337e6-5c64-440e-a1f4-0b342c6b220f","available_quantity":3,"options":[{"name":"Color","value":"69053_beige"},{"name":"Size","value":"Large"}],"off_ratio":6,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
69053_beige
${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:
Large
${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
$47.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":"2dd337e6-5c64-440e-a1f4-0b342c6b220f","product_id":"716970d8-4ba9-448b-979f-dfc3bc3127fb","title":"69053_beige-Large","weight_unit":"kg","inventory_quantity":3,"sku":"11074-69053_beige-Large","barcode":"","position":1,"option1":"69053_beige","option2":"Large","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ccf7b016b313ab0de0e661f3dc8a00e3.jpeg","path":"ccf7b016b313ab0de0e661f3dc8a00e3.jpeg","width":849,"height":1001,"alt":"","aspect_ratio":0.8481518481518482},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0","compare_at_price":"50.99","price":"47.99","retail_price":"50.99","available":true,"url":"\/products\/protection-sun-hats-packable-summer-hat-women-w-ponytail-chin-strap-55-61cm?variant=2dd337e6-5c64-440e-a1f4-0b342c6b220f","available_quantity":3,"options":[{"name":"Color","value":"69053_beige"},{"name":"Size","value":"Large"}],"off_ratio":6,"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.