MeWaii® Karneval Unisex Casual T-Shirt
${function() {
const variantData = data.variant || {"id":"eff6ff23-5ec1-46c4-af5c-b8b05bdb881b","product_id":"f33a512c-9f31-47e6-bf3e-f920ea2affc5","title":"Deep Scoop-White","weight_unit":"kg","inventory_quantity":20,"sku":"MEDO000SHI475W2","barcode":"","position":3,"option1":"Deep Scoop","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8e542f1b19182a975386daa674be1ddd.jpeg","path":"8e542f1b19182a975386daa674be1ddd.jpeg","width":540,"height":540,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"14.99","price":"14.99","retail_price":"14.99","available":true,"url":"\/products\/mewaii-karneval-unisex-casual-t-shirt-tw7d?variant=eff6ff23-5ec1-46c4-af5c-b8b05bdb881b","available_quantity":20,"options":[{"name":"Style","value":"Deep Scoop"},{"name":"Color","value":"White"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Die Leute sehen sich das gerade an
Style:
Deep Scoop
${function(){
const optName = "Style";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Bitte w\u00e4hlen Sie einen {{ name }} aus".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Color:
White
${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 = "Bitte w\u00e4hlen Sie einen {{ name }} aus".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
In den Warenkorb legen
€14.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":"eff6ff23-5ec1-46c4-af5c-b8b05bdb881b","product_id":"f33a512c-9f31-47e6-bf3e-f920ea2affc5","title":"Deep Scoop-White","weight_unit":"kg","inventory_quantity":20,"sku":"MEDO000SHI475W2","barcode":"","position":3,"option1":"Deep Scoop","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8e542f1b19182a975386daa674be1ddd.jpeg","path":"8e542f1b19182a975386daa674be1ddd.jpeg","width":540,"height":540,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"14.99","price":"14.99","retail_price":"14.99","available":true,"url":"\/products\/mewaii-karneval-unisex-casual-t-shirt-tw7d?variant=eff6ff23-5ec1-46c4-af5c-b8b05bdb881b","available_quantity":20,"options":[{"name":"Style","value":"Deep Scoop"},{"name":"Color","value":"White"}],"off_ratio":0,"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 ? `
` : ' ';
}
}()}
Kaufe jetzt
Produkt war ausverkauft.
Produkt ist nicht verfügbar.
${function(){
const variantData = data.variant || {"id":"eff6ff23-5ec1-46c4-af5c-b8b05bdb881b","product_id":"f33a512c-9f31-47e6-bf3e-f920ea2affc5","title":"Deep Scoop-White","weight_unit":"kg","inventory_quantity":20,"sku":"MEDO000SHI475W2","barcode":"","position":3,"option1":"Deep Scoop","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8e542f1b19182a975386daa674be1ddd.jpeg","path":"8e542f1b19182a975386daa674be1ddd.jpeg","width":540,"height":540,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"14.99","price":"14.99","retail_price":"14.99","available":true,"url":"\/products\/mewaii-karneval-unisex-casual-t-shirt-tw7d?variant=eff6ff23-5ec1-46c4-af5c-b8b05bdb881b","available_quantity":20,"options":[{"name":"Style","value":"Deep Scoop"},{"name":"Color","value":"White"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Gewicht : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Strichcode : ${variantData && variantData.barcode}
`
}()}