.swiper-slide-image{cursor: pointer;}'use strict';document.addEventListener('DOMContentLoaded', function () {var filteredImages = document.querySelectorAll('.swiper-slide');//Edit the links HERE var links = [ 'https://boticajunin.com.co/product-category/salud-y-bienestar/', 'https://boticajunin.com.co/product-category/cuidado-personal/', 'https://boticajunin.com.co/product-category/botiquin-y-otros/', 'https://boticajunin.com.co/product-category/bebes/', 'https://boticajunin.com.co/product-category/alimentos-y-bebidas/', 'https://boticajunin.com.co/product-category/dermatologia-y-cosmetica/', //same links here 'https://boticajunin.com.co/product-category/salud-y-bienestar/', 'https://boticajunin.com.co/product-category/cuidado-personal/', 'https://boticajunin.com.co/product-category/botiquin-y-otros/', 'https://boticajunin.com.co/product-category/bebes/', 'https://boticajunin.com.co/product-category/alimentos-y-bebidas/', 'https://boticajunin.com.co/product-category/dermatologia-y-cosmetica/', //and same links here 'https://boticajunin.com.co/product-category/salud-y-bienestar/', 'https://boticajunin.com.co/product-category/cuidado-personal/', 'https://boticajunin.com.co/product-category/botiquin-y-otros/', 'https://boticajunin.com.co/product-category/bebes/', 'https://boticajunin.com.co/product-category/alimentos-y-bebidas/', 'https://boticajunin.com.co/product-category/dermatologia-y-cosmetica/' ];let _loope = function _loope(i) { filteredImages[i].addEventListener('click', function () { let linkid = filteredImages[i].getAttribute("data-swiper-slide-index"); location = links[linkid]; }); }for (var i = 0; i < filteredImages.length; i++) { _loope(i); } });
Lista de Deseos 0