Orden
Orden
Generalmente, no hay un pedido mínimo en FRONTLET SHOP, pero algunos métodos de pago pueden tener un importe mínimo. Se le informará si no se alcanza este importe.
{ const header = item.querySelector('.ai-blog-accordion-header-aqko1euphewzquukyvaigenblockd1f03f9cbktcd'); const content = item.querySelector('.ai-blog-accordion-content-aqko1euphewzquukyvaigenblockd1f03f9cbktcd'); if (header && content) { header.addEventListener('click', () => { const isActive = item.classList.contains('active'); if (false) { this.toggleItem(item, !isActive); } else { this.accordionItems.forEach((otherItem) => { this.toggleItem(otherItem, otherItem === item && !isActive); }); } }); } }); } toggleItem(item, shouldOpen) { const header = item.querySelector('.ai-blog-accordion-header-aqko1euphewzquukyvaigenblockd1f03f9cbktcd'); const content = item.querySelector('.ai-blog-accordion-content-aqko1euphewzquukyvaigenblockd1f03f9cbktcd'); if (shouldOpen) { item.classList.add('active'); header.setAttribute('aria-expanded', 'true'); content.style.maxHeight = content.scrollHeight + 'px'; } else { item.classList.remove('active'); header.setAttribute('aria-expanded', 'false'); content.style.maxHeight = '0'; } } } customElements.define('blog-accordion-aqko1euphewzquukyvaigenblockd1f03f9cbktcd', BlogAccordionaqko1euphewzquukyvaigenblockd1f03f9cbktcd); })();