Child theme issues with product gallery and ajax add to cart

This topic has 12 replies, 3 voices, and was last updated 2 years, 9 months ago ago by Olga Barlow

  • Avatar: giannis
    giannis
    Participant
    March 12, 2022 at 14:16

    child theme has some issues with product gallery. It does not display at all. Also there is a problem with ajax and add to cart button seems to load for ever . We noticed that when using xstore parent theme none of these happens. the error we get on console is XStoreversion : 8.1.1 child theme version 1.0 xstore core version 4.1.1

    woocommerce.min.js?ver=1.0:1 Uncaught TypeError: etTheme.swiperFunc is not a function
    at HTMLBodyElement. (woocommerce.min.js?ver=1.0:1:13878)
    at HTMLBodyElement.dispatch (jquery.min.js?ver=3.6.0:2:43064)
    at HTMLBodyElement.v.handle (jquery.min.js?ver=3.6.0:2:41048)
    at Object.trigger (jquery.min.js?ver=3.6.0:2:71515)
    at HTMLBodyElement.
    (jquery.min.js?ver=3.6.0:2:72110)
    at Function.each (jquery.min.js?ver=3.6.0:2:3003)
    at s.fn.init.each (jquery.min.js?ver=3.6.0:2:1481)
    at s.fn.init.trigger (jquery.min.js?ver=3.6.0:2:72086)
    at Object.success (cart-fragments.min.js?ver=6.3.1:1:955)
    at c (jquery.min.js?ver=3.6.0:2:28327)

    11 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 12, 2022 at 14:26

    Hello,

    Check the code you added in the child theme files. We are not responsible for custom changes that you do in the child theme.

    Regards

    Avatar: giannis
    giannis
    Participant
    March 14, 2022 at 08:50

    no extra code was added .

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 14, 2022 at 08:57

    Hello,

    In this case, provide temporary wp-admin and FTP access, so we can take a closer look.
    Create an account via Dashboard (Users > Add new) with administrator role http://prntscr.com/s3rc9m > provide us with username and password via the Private Content area http://prntscr.com/s5mao7 You can use any email for it.
    If you do not know how to create FTP contact with your hosting provider, they will help you.

    Regards

    Avatar: giannis
    giannis
    Participant
    March 14, 2022 at 09:05

    In addition to that, when i try to delete products from cart dropdown , the first item is deleted but the next item loads forever and is not deleting. Some js causes this error but i cannot find which. Could we reinstall xstore files again

    Avatar: giannis
    giannis
    Participant
    March 14, 2022 at 09:47

    οκ

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 14, 2022 at 15:43

    Hello,

    Do you use any CDN or server cache? Could you, please, temporarily disable them?

    Regards

    Avatar: giannis
    giannis
    Participant
    March 14, 2022 at 18:29

    we do not run cdn or server cache

    Please contact administrator
    for this information.
    Avatar: giannis
    giannis
    Participant
    March 14, 2022 at 18:32

    in plugins we do run wp- optimize

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 15, 2022 at 10:08

    Hello,

    Don’t enable Disable Theme Swiper Js Library option in Theme Options > Speed optimization. Check your slider now, please.

    Regards

    Avatar: giannis
    giannis
    Participant
    March 15, 2022 at 13:11

    yes it did the trick . Ty very much . I ll let it as. But how did it cause the conflict ? i mean the issue is not linked with extra code or plugins. it happened after an update in xstore and woocommerce

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 16, 2022 at 12:45

    Hello,

    We have that option for those who don’t use sliders for example and would like to disable that to speed up the site speed. Or if the client uses a plugin that already calls Swiper JS Library and doesn’t need an additional call for that.

    Regards

  • Viewing 12 results - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.