USB-Stecker Multifunktion ale Büro aufladung Schatz Elektrisches Heizkissen
${function() {
const variantData = data.variant || {"id":"f2af0d33-dd9a-46a2-8826-eea919d4c190","product_id":"3c0fb162-2e6a-4698-93b6-42775215b086","title":"Grau-45cm*45cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!140662-C1300S4727","barcode":"","position":1,"option1":"Grau","option2":"45cm*45cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8ae6b45eb10d3d383ab22969b202c95f.jpeg","path":"8ae6b45eb10d3d383ab22969b202c95f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.72,"min_quantity":1}],"weight":"1","compare_at_price":"27.6","price":"14.72","retail_price":"27.6","available":true,"url":"\/products\/usb-stecker-multifunktion-ale-buro-aufladung-schatz-elektrisches-heizkissen?variant=f2af0d33-dd9a-46a2-8826-eea919d4c190","available_quantity":999999999,"options":[{"name":"Farbe","value":"Grau"},{"name":"Gr\u00f6\u00dfe","value":"45cm*45cm"}],"off_ratio":47,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Farbe:
Grau
${function(){
const optName = "Farbe";
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}
`
}()}
Größe:
45cm*45cm
${function(){
const optName = "Größe";
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.72
${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":"f2af0d33-dd9a-46a2-8826-eea919d4c190","product_id":"3c0fb162-2e6a-4698-93b6-42775215b086","title":"Grau-45cm*45cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!140662-C1300S4727","barcode":"","position":1,"option1":"Grau","option2":"45cm*45cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8ae6b45eb10d3d383ab22969b202c95f.jpeg","path":"8ae6b45eb10d3d383ab22969b202c95f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.72,"min_quantity":1}],"weight":"1","compare_at_price":"27.6","price":"14.72","retail_price":"27.6","available":true,"url":"\/products\/usb-stecker-multifunktion-ale-buro-aufladung-schatz-elektrisches-heizkissen?variant=f2af0d33-dd9a-46a2-8826-eea919d4c190","available_quantity":999999999,"options":[{"name":"Farbe","value":"Grau"},{"name":"Gr\u00f6\u00dfe","value":"45cm*45cm"}],"off_ratio":47,"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.
Sku : CY-!140662-C1300S4727
Gewicht : 1kg
${function(){
const variantData = data.variant || {"id":"f2af0d33-dd9a-46a2-8826-eea919d4c190","product_id":"3c0fb162-2e6a-4698-93b6-42775215b086","title":"Grau-45cm*45cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!140662-C1300S4727","barcode":"","position":1,"option1":"Grau","option2":"45cm*45cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8ae6b45eb10d3d383ab22969b202c95f.jpeg","path":"8ae6b45eb10d3d383ab22969b202c95f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.72,"min_quantity":1}],"weight":"1","compare_at_price":"27.6","price":"14.72","retail_price":"27.6","available":true,"url":"\/products\/usb-stecker-multifunktion-ale-buro-aufladung-schatz-elektrisches-heizkissen?variant=f2af0d33-dd9a-46a2-8826-eea919d4c190","available_quantity":999999999,"options":[{"name":"Farbe","value":"Grau"},{"name":"Gr\u00f6\u00dfe","value":"45cm*45cm"}],"off_ratio":47,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Gewicht : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Strichcode : ${variantData && variantData.barcode}
`
}()}