Student Cute Beanie Cartoon Among Us Embroidered Knitted Hat
${function() {
const variantData = data.variant || {"id":"89f53601-4c78-4e94-b682-ea418c9e3232","product_id":"812411ad-e42c-4218-ace7-2107b7d35776","title":"black1-Adjustable","weight_unit":"kg","inventory_quantity":99597,"sku":"641544200640-black1-Adjustable","barcode":"","position":1,"option1":"black1","option2":"Adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5345aa4380c986e0c5b2651f6a1e05c7.jpeg","path":"5345aa4380c986e0c5b2651f6a1e05c7.jpeg","width":804,"height":800,"alt":"","aspect_ratio":1.005},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.07","compare_at_price":"25","price":"22.99","retail_price":"25","available":true,"url":"\/products\/student-cute-beanie-cartoon-among-us-embroidered-knitted-hat?variant=89f53601-4c78-4e94-b682-ea418c9e3232","available_quantity":999999999,"options":[{"name":"\u989c\u8272","value":"black1"},{"name":"size","value":"Adjustable"}],"off_ratio":8,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
颜色:
black1
${function(){
const optName = "颜色";
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:
Adjustable
${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
$22.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":"89f53601-4c78-4e94-b682-ea418c9e3232","product_id":"812411ad-e42c-4218-ace7-2107b7d35776","title":"black1-Adjustable","weight_unit":"kg","inventory_quantity":99597,"sku":"641544200640-black1-Adjustable","barcode":"","position":1,"option1":"black1","option2":"Adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5345aa4380c986e0c5b2651f6a1e05c7.jpeg","path":"5345aa4380c986e0c5b2651f6a1e05c7.jpeg","width":804,"height":800,"alt":"","aspect_ratio":1.005},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.07","compare_at_price":"25","price":"22.99","retail_price":"25","available":true,"url":"\/products\/student-cute-beanie-cartoon-among-us-embroidered-knitted-hat?variant=89f53601-4c78-4e94-b682-ea418c9e3232","available_quantity":999999999,"options":[{"name":"\u989c\u8272","value":"black1"},{"name":"size","value":"Adjustable"}],"off_ratio":8,"flashsale_info":[],"sales":0};
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;