${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "133.33%"; const product_image = data.image; const secondary_image = data.secondImage; const image_width = product_image.width; let image_height = product_image.height; if(setting_product_image_display == '100%'){ image_height = image_width }else if(setting_product_image_display == '133.33%'){ image_height = image_width * 1.3333; }; const product_image_hover_on = true && !!secondary_image.src; const has_save_label = true && ((+data.compare_at_price) > (+data.price)); const is_single_variant = data.variants.length == 1; const min_price_variant_href = (data.min_price_variant && data.min_price_variant.available) ? data.min_price_variant.withinUrl : data.withinUrl; const retail_price_max = data.retail_price_max || data.compare_at_price_max; const THUMBNAILS_MAX_SIZE = 3; const thumbnails = data.thumbVariants.slice(0, THUMBNAILS_MAX_SIZE); const image_wrap_id = 'image_wrap_' + get_random_six_digits(); const image_carousel_id = 'image_carousel_' + get_random_six_digits(); const thumbnails_selector_id = 'thumbnails_selector_' + get_random_six_digits(); const form_id = 'form_' + get_random_six_digits(); const mixed_wholesale = data.mixed_wholesale; return `
${ data.available ? `${ (+data.compare_at_price > +data.price) ? `حفظ
` : '' }` : "\u0646\u0641\u0630" }
الكثير مختلط
${data.title}
${ data.price_min != data.price_max ? `من
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
يسجل دخول
إنشاء حساب
${data.data && data.data.count}
رعاية صحية
الرعاية المحلية
ماني بيدي
العلاج بالتدليك
الرعاية اللمفاوية
رعاية الأنف والأذن والحنجرة
العناية بآلام الظهر
جص
الرعاية الصحية
مجوهرات وظيفية
أكياس الشاي الوظيفية
العناية بالشعر
العناية بالشعر وتلوين الشعر
شعر كثيف
الجمال والعناية بالبشرة
العناية ببشرة الوجه
تطهير الجسم
العناية بالبشرة
جمال الجسم
تنحيف الوجه وجماله
المزيد من الروابط
${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 71290011, title: "\u0631\u0639\u0627\u064a\u0629 \u0635\u062d\u064a\u0629", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "\u0627\u0644\u0631\u0639\u0627\u064a\u0629 \u0627\u0644\u0645\u062d\u0644\u064a\u0629", url: "\/collections\/\u0631\u0639\u0627\u064a\u0629-\u0645\u0648\u0636\u0639\u064a\u0629", target: "", levels: 0, children: [ ] }, { title: "\u0645\u0627\u0646\u064a \u0628\u064a\u062f\u064a", url: "\/collections\/\u0631\u0639\u0627\u064a\u0629-\u0627\u0644\u064a\u062f\u064a\u0646-\u0648\u0627\u0644\u0642\u062f\u0645\u064a\u0646", target: "", levels: 0, children: [ ] }, { title: "\u0627\u0644\u0639\u0644\u0627\u062c \u0628\u0627\u0644\u062a\u062f\u0644\u064a\u0643", url: "\/collections\/\u0627\u0644\u0639\u0644\u0627\u062c-\u0628\u0627\u0644\u062a\u062f\u0644\u064a\u0643", target: "", levels: 0, children: [ ] }, { title: "\u0627\u0644\u0631\u0639\u0627\u064a\u0629 \u0627\u0644\u0644\u0645\u0641\u0627\u0648\u064a\u0629", url: "\/collections\/\u0631\u0639\u0627\u064a\u0629-\u0627\u0644\u0644\u0645\u0641", target: "", levels: 0, children: [ ] }, { title: "\u0631\u0639\u0627\u064a\u0629 \u0627\u0644\u0623\u0646\u0641 \u0648\u0627\u0644\u0623\u0630\u0646 \u0648\u0627\u0644\u062d\u0646\u062c\u0631\u0629", url: "\/collections\/\u0631\u0639\u0627\u064a\u0629-\u0627\u0644\u0623\u0646\u0641-\u0648\u0627\u0644\u0623\u0630\u0646-\u0648\u0627\u0644\u062d\u0646\u062c\u0631\u0629", target: "", levels: 0, children: [ ] }, { title: "\u0627\u0644\u0639\u0646\u0627\u064a\u0629 \u0628\u0622\u0644\u0627\u0645 \u0627\u0644\u0638\u0647\u0631", url: "\/collections\/\u0631\u0639\u0627\u064a\u0629-\u0622\u0644\u0627\u0645-\u0627\u0644\u0638\u0647\u0631-\u0648\u0623\u0633\u0641\u0644-\u0627\u0644\u0638\u0647\u0631", target: "", levels: 0, children: [ ] }, { title: "\u062c\u0635", url: "\/collections\/\u0644\u0635\u0642\u0627\u062a-\u062f\u0648\u0627\u0626\u064a\u0629", target: "", levels: 0, children: [ ] }, ] }, { id: 71290027, title: "\u0627\u0644\u0631\u0639\u0627\u064a\u0629 \u0627\u0644\u0635\u062d\u064a\u0629", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "\u0645\u062c\u0648\u0647\u0631\u0627\u062a \u0648\u0638\u064a\u0641\u064a\u0629", url: "\/collections\/\u0625\u0643\u0633\u0633\u0648\u0627\u0631\u0627\u062a-\u0648\u0638\u064a\u0641\u064a\u0629", target: "", levels: 0, children: [ ] }, { title: "\u0623\u0643\u064a\u0627\u0633 \u0627\u0644\u0634\u0627\u064a \u0627\u0644\u0648\u0638\u064a\u0641\u064a\u0629", url: "\/collections\/\u0623\u0643\u064a\u0627\u0633-\u0634\u0627\u064a-\u0648\u0638\u064a\u0641\u064a\u0629", target: "", levels: 0, children: [ ] }, ] }, { id: 71290033, title: "\u0627\u0644\u0639\u0646\u0627\u064a\u0629 \u0628\u0627\u0644\u0634\u0639\u0631", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "\u0627\u0644\u0639\u0646\u0627\u064a\u0629 \u0628\u0627\u0644\u0634\u0639\u0631 \u0648\u062a\u0644\u0648\u064a\u0646 \u0627\u0644\u0634\u0639\u0631", url: "\/collections\/\u0627\u0644\u0639\u0646\u0627\u064a\u0629-\u0628\u0627\u0644\u0634\u0639\u0631-\u0648\u0635\u0628\u063a\u0647", target: "", levels: 0, children: [ ] }, { title: "\u0634\u0639\u0631 \u0643\u062b\u064a\u0641", url: "\/collections\/\u062a\u0643\u062b\u064a\u0641-\u0627\u0644\u0634\u0639\u0631", target: "", levels: 0, children: [ ] }, ] }, { id: 71290039, title: "\u0627\u0644\u062c\u0645\u0627\u0644 \u0648\u0627\u0644\u0639\u0646\u0627\u064a\u0629 \u0628\u0627\u0644\u0628\u0634\u0631\u0629", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "\u0627\u0644\u0639\u0646\u0627\u064a\u0629 \u0628\u0628\u0634\u0631\u0629 \u0627\u0644\u0648\u062c\u0647", url: "\/collections\/\u0627\u0644\u0639\u0646\u0627\u064a\u0629-\u0628\u0628\u0634\u0631\u0629-\u0627\u0644\u0648\u062c\u0647", target: "", levels: 0, children: [ ] }, { title: "\u062a\u0637\u0647\u064a\u0631 \u0627\u0644\u062c\u0633\u0645", url: "\/collections\/\u062a\u0646\u0638\u064a\u0641-\u0627\u0644\u062c\u0633\u0645", target: "", levels: 0, children: [ ] }, { title: "\u0627\u0644\u0639\u0646\u0627\u064a\u0629 \u0628\u0627\u0644\u0628\u0634\u0631\u0629", url: "\/collections\/\u0627\u0644\u0639\u0646\u0627\u064a\u0629-\u0628\u0627\u0644\u0628\u0634\u0631\u0629", target: "", levels: 0, children: [ ] }, { title: "\u062c\u0645\u0627\u0644 \u0627\u0644\u062c\u0633\u0645", url: "\/collections\/\u062c\u0645\u0627\u0644-\u0627\u0644\u062c\u0633\u0645", target: "", levels: 0, children: [ ] }, { title: "\u062a\u0646\u062d\u064a\u0641 \u0627\u0644\u0648\u062c\u0647 \u0648\u062c\u0645\u0627\u0644\u0647", url: "\/collections\/\u062c\u0645\u0627\u0644-\u0634\u062f-\u0627\u0644\u0648\u062c\u0647", target: "", levels: 0, children: [ ] }, ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
رعاية صحية
الرعاية المحلية
ماني بيدي
العلاج بالتدليك
الرعاية اللمفاوية
رعاية الأنف والأذن والحنجرة
العناية بآلام الظهر
جص
الرعاية الصحية
مجوهرات وظيفية
أكياس الشاي الوظيفية
العناية بالشعر
العناية بالشعر وتلوين الشعر
شعر كثيف
الجمال والعناية بالبشرة
العناية ببشرة الوجه
تطهير الجسم
العناية بالبشرة
جمال الجسم
تنحيف الوجه وجماله
المزيد من الروابط
${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 71290011, title: "\u0631\u0639\u0627\u064a\u0629 \u0635\u062d\u064a\u0629", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "\u0627\u0644\u0631\u0639\u0627\u064a\u0629 \u0627\u0644\u0645\u062d\u0644\u064a\u0629", url: "\/collections\/\u0631\u0639\u0627\u064a\u0629-\u0645\u0648\u0636\u0639\u064a\u0629", target: "", levels: 0, children: [ ] }, { title: "\u0645\u0627\u0646\u064a \u0628\u064a\u062f\u064a", url: "\/collections\/\u0631\u0639\u0627\u064a\u0629-\u0627\u0644\u064a\u062f\u064a\u0646-\u0648\u0627\u0644\u0642\u062f\u0645\u064a\u0646", target: "", levels: 0, children: [ ] }, { title: "\u0627\u0644\u0639\u0644\u0627\u062c \u0628\u0627\u0644\u062a\u062f\u0644\u064a\u0643", url: "\/collections\/\u0627\u0644\u0639\u0644\u0627\u062c-\u0628\u0627\u0644\u062a\u062f\u0644\u064a\u0643", target: "", levels: 0, children: [ ] }, { title: "\u0627\u0644\u0631\u0639\u0627\u064a\u0629 \u0627\u0644\u0644\u0645\u0641\u0627\u0648\u064a\u0629", url: "\/collections\/\u0631\u0639\u0627\u064a\u0629-\u0627\u0644\u0644\u0645\u0641", target: "", levels: 0, children: [ ] }, { title: "\u0631\u0639\u0627\u064a\u0629 \u0627\u0644\u0623\u0646\u0641 \u0648\u0627\u0644\u0623\u0630\u0646 \u0648\u0627\u0644\u062d\u0646\u062c\u0631\u0629", url: "\/collections\/\u0631\u0639\u0627\u064a\u0629-\u0627\u0644\u0623\u0646\u0641-\u0648\u0627\u0644\u0623\u0630\u0646-\u0648\u0627\u0644\u062d\u0646\u062c\u0631\u0629", target: "", levels: 0, children: [ ] }, { title: "\u0627\u0644\u0639\u0646\u0627\u064a\u0629 \u0628\u0622\u0644\u0627\u0645 \u0627\u0644\u0638\u0647\u0631", url: "\/collections\/\u0631\u0639\u0627\u064a\u0629-\u0622\u0644\u0627\u0645-\u0627\u0644\u0638\u0647\u0631-\u0648\u0623\u0633\u0641\u0644-\u0627\u0644\u0638\u0647\u0631", target: "", levels: 0, children: [ ] }, { title: "\u062c\u0635", url: "\/collections\/\u0644\u0635\u0642\u0627\u062a-\u062f\u0648\u0627\u0626\u064a\u0629", target: "", levels: 0, children: [ ] }, ] }, { id: 71290027, title: "\u0627\u0644\u0631\u0639\u0627\u064a\u0629 \u0627\u0644\u0635\u062d\u064a\u0629", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "\u0645\u062c\u0648\u0647\u0631\u0627\u062a \u0648\u0638\u064a\u0641\u064a\u0629", url: "\/collections\/\u0625\u0643\u0633\u0633\u0648\u0627\u0631\u0627\u062a-\u0648\u0638\u064a\u0641\u064a\u0629", target: "", levels: 0, children: [ ] }, { title: "\u0623\u0643\u064a\u0627\u0633 \u0627\u0644\u0634\u0627\u064a \u0627\u0644\u0648\u0638\u064a\u0641\u064a\u0629", url: "\/collections\/\u0623\u0643\u064a\u0627\u0633-\u0634\u0627\u064a-\u0648\u0638\u064a\u0641\u064a\u0629", target: "", levels: 0, children: [ ] }, ] }, { id: 71290033, title: "\u0627\u0644\u0639\u0646\u0627\u064a\u0629 \u0628\u0627\u0644\u0634\u0639\u0631", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "\u0627\u0644\u0639\u0646\u0627\u064a\u0629 \u0628\u0627\u0644\u0634\u0639\u0631 \u0648\u062a\u0644\u0648\u064a\u0646 \u0627\u0644\u0634\u0639\u0631", url: "\/collections\/\u0627\u0644\u0639\u0646\u0627\u064a\u0629-\u0628\u0627\u0644\u0634\u0639\u0631-\u0648\u0635\u0628\u063a\u0647", target: "", levels: 0, children: [ ] }, { title: "\u0634\u0639\u0631 \u0643\u062b\u064a\u0641", url: "\/collections\/\u062a\u0643\u062b\u064a\u0641-\u0627\u0644\u0634\u0639\u0631", target: "", levels: 0, children: [ ] }, ] }, { id: 71290039, title: "\u0627\u0644\u062c\u0645\u0627\u0644 \u0648\u0627\u0644\u0639\u0646\u0627\u064a\u0629 \u0628\u0627\u0644\u0628\u0634\u0631\u0629", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "\u0627\u0644\u0639\u0646\u0627\u064a\u0629 \u0628\u0628\u0634\u0631\u0629 \u0627\u0644\u0648\u062c\u0647", url: "\/collections\/\u0627\u0644\u0639\u0646\u0627\u064a\u0629-\u0628\u0628\u0634\u0631\u0629-\u0627\u0644\u0648\u062c\u0647", target: "", levels: 0, children: [ ] }, { title: "\u062a\u0637\u0647\u064a\u0631 \u0627\u0644\u062c\u0633\u0645", url: "\/collections\/\u062a\u0646\u0638\u064a\u0641-\u0627\u0644\u062c\u0633\u0645", target: "", levels: 0, children: [ ] }, { title: "\u0627\u0644\u0639\u0646\u0627\u064a\u0629 \u0628\u0627\u0644\u0628\u0634\u0631\u0629", url: "\/collections\/\u0627\u0644\u0639\u0646\u0627\u064a\u0629-\u0628\u0627\u0644\u0628\u0634\u0631\u0629", target: "", levels: 0, children: [ ] }, { title: "\u062c\u0645\u0627\u0644 \u0627\u0644\u062c\u0633\u0645", url: "\/collections\/\u062c\u0645\u0627\u0644-\u0627\u0644\u062c\u0633\u0645", target: "", levels: 0, children: [ ] }, { title: "\u062a\u0646\u062d\u064a\u0641 \u0627\u0644\u0648\u062c\u0647 \u0648\u062c\u0645\u0627\u0644\u0647", url: "\/collections\/\u062c\u0645\u0627\u0644-\u0634\u062f-\u0627\u0644\u0648\u062c\u0647", target: "", levels: 0, children: [ ] }, ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
يسجل دخول
إنشاء حساب
${data.data && data.data.count}
${(function(){ if (data === undefined || typeof data !== 'string' || data == '') return '
'; const keyword = encodeURIComponent(data); return `
عرض المزيد
بحثك عن '${data}' لم تسفر عن أي نتائج.
` })()}
رعاية صحية
رعاية صحية
الرعاية المحلية
ماني بيدي
العلاج بالتدليك
الرعاية اللمفاوية
رعاية الأنف والأذن والحنجرة
العناية بآلام الظهر
جص
الرعاية الصحية
الرعاية الصحية
مجوهرات وظيفية
أكياس الشاي الوظيفية
العناية بالشعر
العناية بالشعر
العناية بالشعر وتلوين الشعر
شعر كثيف
الجمال والعناية بالبشرة
الجمال والعناية بالبشرة
العناية ببشرة الوجه
تطهير الجسم
العناية بالبشرة
جمال الجسم
تنحيف الوجه وجماله
يسجل دخول
إنشاء حساب
(function(){ let w = window.innerWidth; function setHeaderCssVar() { const headerEle = document.getElementById('shoplaza-section-header'); if(!headerEle){ return }; document.body.style.setProperty('--window-height', `${window.innerHeight}px`); document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`); const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide'); if (mdScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`); } const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide'); if (pcScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`); } } function handlResize() { if(w == window.innerWidth){return}; w = window.innerWidth; setHeaderCssVar(); }; function init(){ setHeaderCssVar(); window.removeEventListener('resize', window._theme_header_listener) window._theme_header_listener = handlResize; window.addEventListener('resize', window._theme_header_listener); } init(); })();
Muslim black robe
Jul 15, 2024
بواسطة zuhrah
عربة التسوق
حقيبة التسوق الخاصة بك فارغة
مواصلة التسوق
${item.product_title}
${item.options.map(option => option.value).join('/')}
${propertie.name}/${propertie.isImage ? `
عرض الصورة
` : propertie.value}
هدية مجانية
الكثير مختلط
*${item.quantity}
${item.item_text}
${discount_item.title}
(-
)
المجموع:
${function() { const textArray = ("\u062d\u0641\u0638 {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("\u062d\u0641\u0638 {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
${data.invalid_msg}
الدفع
الشحن والضرائب ورموز الخصم المحسوبة عند الخروج.
${data.invalid_msg}
المجموع:
${function() { const textArray = ("\u062d\u0641\u0638 {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("\u062d\u0641\u0638 {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("\u062d\u0641\u0638 {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
الدفع
${data.invalid_msg}
الدفع
الشحن والضرائب ورموز الخصم المحسوبة عند الخروج.
فرعي:
${discount_application.title}:
-
المجموع:
الدفع
الشحن والضرائب ورموز الخصم المحسوبة عند الخروج.
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render'); if (summaryStickyRender) { document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px'); }
عرض العربة
${function(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { const nameEscape = opt.name.replace(/\/|\\|\s|\'|\"|`|\<|\>/g, '') product_change_event = product_change_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `@${nameEscape}Mouseout="quick-shop-selected-variant-${opt.id}.rerender(data=event.selectData.${opt.name}, redo=true);"`; mouse_over_event = mouse_over_event + `@${nameEscape}Mouseover="quick-shop-selected-variant-${opt.id}.rerender(data=event, redo=true);"`; } const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const statusLan = ((selectedVariant && !selectedVariant.available) || (!selectedVariant && !productData.available)) ? "\u0646\u0641\u0630" : "\u0623\u0636\u0641 \u0625\u0644\u0649 \u0627\u0644\u0633\u0644\u0629"; return `
${statusLan}
` }()}
${function(){ const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const variantData = currentSelectVariant || defaultVariant || data; const retail_price = variantData.retail_price || 0; return `
بيع بالتجزئة
` }()}
${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 = null; 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 ? `
` : '
'; } }()}
${function() { let variantImageShowed = false; const currentProduct = data.product; return (currentProduct.options || []).map((option, index) => { const optionName = option.name || ''; const optionId = option.id || ''; const position = `option${index + 1}`; let isThumbImage = false; if (currentProduct.need_variant_image && !variantImageShowed) { const variantNames = ["color"] || []; for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name === optionName.toLowerCase()) { isThumbImage = true; variantImageShowed = true; } } } const variantType = "button"; const thumbStyle = "image_with_text"; return `
${optionName}:
${option.values.map((value, idx) => { const selected = data.selectedValues[optionName] == value ? 'checked' : ''; let thumbImage = null; if (isThumbImage) { const variants = currentProduct.variants; for (let i = 0, len = variants.length; i < len; i++) { const variant = variants[i]; if (variant[position] == value && thumbImage == null) { thumbImage = variant.image; break; } } } return `
${value}
` }).join('')}
${optionName}
${option.values.map(value => { const selected = data.selectedValues[optionName] == value ? 'selected' : ''; return `
${value}
` }).join('')}
` }).join(''); }()}
${data.originData && data.originData.value || data.value}