Lil Peep Beanie Hats Graffiti Letters Floral Streetwear Couple Knitted Hats
${function() {
const variantData = data.variant || {"id":"c15926b0-6e32-48ae-b33e-a0545f51455b","product_id":"8f3bdd0c-f4a9-4d05-96f4-bb58f8be1eff","title":"White1","weight_unit":"kg","inventory_quantity":1000,"sku":"MFOX-619101000522-Whi1","barcode":"","position":1,"option1":"White1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e924148c231a1a58310e757d575b1618.jpeg","path":"e924148c231a1a58310e757d575b1618.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"16.99","price":"21.99","retail_price":"16.99","available":true,"url":"\/products\/lil-peep-beanie-hats-graffiti-letters-floral-streetwear-couple-knitted-hats?variant=c15926b0-6e32-48ae-b33e-a0545f51455b","available_quantity":1000,"options":[{"name":"Color","value":"White1"}],"off_ratio":0,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
White1
${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}
`
}()}
Add to cart
$21.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":"c15926b0-6e32-48ae-b33e-a0545f51455b","product_id":"8f3bdd0c-f4a9-4d05-96f4-bb58f8be1eff","title":"White1","weight_unit":"kg","inventory_quantity":1000,"sku":"MFOX-619101000522-Whi1","barcode":"","position":1,"option1":"White1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e924148c231a1a58310e757d575b1618.jpeg","path":"e924148c231a1a58310e757d575b1618.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"16.99","price":"21.99","retail_price":"16.99","available":true,"url":"\/products\/lil-peep-beanie-hats-graffiti-letters-floral-streetwear-couple-knitted-hats?variant=c15926b0-6e32-48ae-b33e-a0545f51455b","available_quantity":1000,"options":[{"name":"Color","value":"White1"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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;