• Hello!

    First I must apologize if I make any mistakes, my English is not perfect ??

    What happens is that with the plugin, in the single product section with Woocommerce, the add to cart button is disabled. I tried deactivating all the plugins and check one by one and just when I activate Async Javascript is that the error occurs and stops working.

    This also only happens in the Mozilla Firefox browser.

    I hope to have a solution soon, thanks!

    Translated with https://www.DeepL.com/Translator (free version)`

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Can you try adding wp-includes/js to the AsyncJS exclusion list julianrg2 ?

    Thread Starter julianrg2

    (@julianrg2)

    How can I do that? I’m very new using this plugin, I was trying to exclude something yesterday but I couldn’t and will be great if you can give me instructions

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    So go Settings -> Async JavaScript -> Settings and under “script exclusions” add wp-includes/js to the comma-separated list;

    Save Settings, purge any page cache you might have and you should be good to go ??

    Thread Starter julianrg2

    (@julianrg2)

    Thank u! I was trying different solutions but set to the defer list wp-includes/js works fine! but I have another situation.

    I was talking with someone who is helping me in this development and he told me that if we put all de async method on “defer” after a while the images started to not charge, do you have any answer or solution for this?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, if you have a plugin (or your theme) doing JS-based image lazyloading, then you might have to exclude that from being asynced/ deferred?

    Thread Starter julianrg2

    (@julianrg2)

    I think there isn’t a plugin like the lazyloading one but I’m going to ask about it. A this moment the cart is doing ok so if there is another thing to review I’m gonna open another ticket.

    Thank u!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Uncaught TypeError: wp.template is not a function’ is closed to new replies.