${function() {
var thumbSwitchName = '';
return (data.product.options || []).map((option, index) => {
const optionName = option.name || '';
const position = `option${index + 1}`;
var isThumbImage = false;
if (data.product.need_variant_image && thumbSwitchName === '') {
const variantNames = [] || [];
for (let i = 0, len = variantNames.length; i < len; i++) {
const name = variantNames[i].toLowerCase();
if (name === optionName.toLowerCase()) {
isThumbImage = true;
thumbSwitchName = name;
}
}
}
const variantType = "button";
const thumbStyle = "image";
const mouseEvent = isThumbImage ? ('single-product-variant-template-1718766178888-' + optionName + '.rerender(data=event);') : '';
return (variantType == 'dropdown' && !isThumbImage) ? `
` : `
`;
}).join('')
}()}
${optionName.toLowerCase()}
-
2000W Reiner Sinus Wechselrichter Spannungswandler 12V auf 230V 240V
Gebrauchte Produkte
${data.month} ${data.day}, ${data.year}
From the blog
Alle ansehen
${function(){
const image_size_temp = "natural";
const tempArticles = data.articles.map((item) => {
const image = item.image || {height: 100, width: 100};
return Object.assign(item, {
width: 0 || image.width,
height:0 || image.height,
published_at: item.published_at || new Date(),
image_size: image_size_temp == 'natural' ? (image.height/image.width *100 + '%') : image_size_temp
})});
const firstBlog = tempArticles[0]
const latestBlogs = tempArticles.slice(1,5)
const hasImageSrc = firstBlog.image && firstBlog.image.src;
return `
`
}()}
Neueste Beiträge
${latestBlogs.map((item)=>{
const hasImageSrc = item.image&&item.image.src;
return `
`
}).join("")}