/* Add custom Js code below */ let skuCode = document.querySelector('.sicon-barcode').closest('.justify-between'); skuCode.classList.replace('flex','hidden') skuCode.classList.replace('sm:grid','hidden') window.onload = function(){ const getProduct = document.getElementById('product-211434814'); if(getProduct){ const ul = document.createElement('ul'); ul.classList.add('p-5'); const ArrText = [ { ar: 'جاهزة للاهداء مع تغليف مميز ', en: 'Ready to gift with a beautiful ribbon packaging' }, { ar: 'في المجموعة: كريم يد مرطب برائحة ليالي العنبر، رذاذ الجسم برائحة ليالي العنبر، ومرطب الشفاة بنكهه الفانيلا لاتيه', en: 'In the set: Moistirzing hand cream in Amber Nights scent, Body mist in Amber Nights scent, and Lip balm in vanilla latte flavor.' }, { ar: 'يمكن تخصيص كرت الإهداء للمنتج', en: 'You can customize a special gift card with the set.' } ]; ArrText.forEach((item, index) => { const li = document.createElement('li'); li.textContent = item[window.salla.lang.locale]; li.setAttribute('style', 'list-style: disc !important;'); ul.appendChild(li); }); const productContent = getProduct.querySelector('.main-content'); if(productContent){ productContent.appendChild(ul); } } } document .querySelector('[data-testid="bcio__popupTeaser"]') .classList.add('popup-teaser');