Home Forums WoodMart support forum Slider y las imágenes de cabecera desaparecen al seleccionar filtros o paginar

Slider y las imágenes de cabecera desaparecen al seleccionar filtros o paginar

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #149441

    Jose Antonio
    Participant

    En el grid de productos cuando seleccionas los filtros y la página se refresca desaparecen los slider y la imagen principal de cabecera. Si vuelves a refrescar la página en el navegador vuelven a aparecer.

    ¿A que puede deberse?

    #149442

    Artem Temos
    Keymaster

    Hi,

    Please, describe to us your problems in a bit more details. Attach some screenshots and provide us with a list of steps on how to reproduce it on your website.

    Thank you in advance.

    #149454

    Jose Antonio
    Participant

    Adjunto dos imágenes, en la imagen home_img1.JPG la página está recien cargada y se muestra el slider, en la imagen home_img2.jpg se ha pulsado la opción para cambiar el número de columnas de el grid y ha desaparecido el slider.

    Attachments:
    You must be logged in to view attached files.
    #149462

    Artem Temos
    Keymaster

    Try to add the following code snippet to the Custom JS area in Theme Settings to fix this issue.

    jQuery(document).on('pjax:complete', function () {
        woodmartThemeModule.owlCarouselInit();
        woodmartThemeModule.woodSliderLazyLoad();
    });
    #149478

    Jose Antonio
    Participant

    Perfecto funciona! Pero ocurre que cuando estás dentro de una categoría y modificas los filtros te lleva a la portada.

    #149552

    Artem Temos
    Keymaster

    When you reload the content the slider have to be reinited and that is why you see this little “flash” effect.

    #149577

    Jose Antonio
    Participant

    I refer, for instance, if you are in a category page and you select a filter this takes you to the home.
    For example http://www.mydomain.com/product-category/ropa-de-cama/ –> home http://www.mydomain.com/?per_row=4&shop_view=grid

    #149594

    Artem Temos
    Keymaster

    We see that your shop page is set as your home page in Dashboard -> Settings -> Reading. Try to create two separate pages for the home page and shop page.

    #149811

    Jose Antonio
    Participant

    Finally I modified woodmart_shop_page_link function. Thanks!!

    #149818

    Artem Temos
    Keymaster

    Great, you are welcome!

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Slider y las imágenes de cabecera desaparecen al seleccionar filtros o paginar’ is closed to new replies.