/* Add custom Js code below */ const productPageGuarantee = () => { const isArabic = (document.documentElement.lang || 'ar') === 'ar'; const content = document.createElement('div'); content.className = 'guarantee'; content.innerHTML = `
${isArabic ? 'ضمان' : 'Guarantee'}

${isArabic ? 'ضمان ذهبي' : 'Golden Guarantee'}

${isArabic ? '30 يوم' : '30 days – love your perfume or return it'}

`; return content; }; document.addEventListener('DOMContentLoaded', () => { const target = document.querySelector('.product-single-top-description.mb-5'); if (target) { target.before(productPageGuarantee()); } }); /* */