Variations on frontend don't load - by Jojogali

This topic has 10 replies, 2 voices, and was last updated 6 years, 5 months ago ago by Rose Tyler

  • Avatar: Jojogali
    Jojogali
    Participant
    June 11, 2018 at 11:59

    Hi,

    I have multiple products that use attributes as variations and I’m facing a frontend issue at the moment.

    My products are birthday candles, so I have both color and number as an option. I noticed that while adding it in the backend it often got stuck creating the variations, but refreshing always did the trick and I thought it was only related to the fact that I was creating 50 variations or more each time.

    But on the frontend if I pick a color and then a number it always freezes and is stuck in the loading process. I checked my console and this is what I found:

    Uncaught TypeError: Cannot read property 'length' of null
        at HTMLFormElement.<anonymous> (etheme.js:1535)
        at HTMLFormElement.dispatch (jquery.js:3)
        at HTMLFormElement.r.handle (jquery.js:3)
        at Object.trigger (jquery.js:3)
        at Object.a.event.trigger (jquery-migrate.min.js:2)
        at HTMLFormElement.<anonymous> (jquery.js:3)
        at Function.each (jquery.js:2)
        at a.fn.init.each (jquery.js:2)
        at a.fn.init.trigger (jquery.js:3)
        at Object.success (add-to-cart-variation.min.js:1)

    If you could help me understand what needs to be done, that would be awesome.

    9 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 11, 2018 at 12:27

    Hello,

    Have you tried to disable all 3rd party plugins?
    Please provide us with your site URL so we can take a closer look.

    Regards

    Avatar: Jojogali
    Jojogali
    Participant
    June 11, 2018 at 12:42

    Hi Rose Tyler, thank you for your answer.

    I did, I turned all plugins off, except for WooCommerce and the problem presisted.

    Please check the details bellow (we are currently under maintenance).

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 11, 2018 at 12:52

    Hello,

    Please check if this works in the same way with the default WC theme (Storefront).
    In case, the problem occurs with our theme only, provide us with temporary FTP access.

    Regards

    Avatar: Jojogali
    Jojogali
    Participant
    June 11, 2018 at 15:40

    Hi again,

    With the default WC theme the problem doesn’t exist. Everything works fine.
    I’ll now provide you with temporary cPanel access, if that’s OK. We have some issues with FTP account creation atm. This way you’ll have access to all areas.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 11, 2018 at 16:07

    Hello,

    Thanks for the reply.
    Please, ask your hosting provider support to create FTP account to your site files and give us the credentials.

    Regards

    Avatar: Jojogali
    Jojogali
    Participant
    June 11, 2018 at 16:21

    Hi Rose, thank you for your kind answer and patience. I can’t do that, they usually take several days/weeks to answer. Would you be so kind as to use the accesses I provided? 🙂

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 12, 2018 at 09:02

    Hello,

    Fixed. Please, clear cache and check.

    Regards

    Avatar: Jojogali
    Jojogali
    Participant
    June 12, 2018 at 09:52

    Hello,

    Indeed. Thank you so much for your help.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 12, 2018 at 09:53

    Hello,

    You’re welcome!

    Regards

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

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

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