Javascript issues

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 16 reply threads
  • Author
    Posts
    • #14408
      dani1341
      Guest

      Hello,
      I would like to request for the annoying
      //Comments
      to be removed from all the javascript files,
      as when using either Autoptimize or WP Fastest Cache to minify Javascript it just completely breaks the plugin (both the free and ultimate version).

      My website is really javascript heavy and things like this are unacceptable (having to manually remove them each update is annoying).

      I would be really grateful if they were removed.
      Thanks

    • #14409
      WCfM Forum
      Guest

      Hi,

      I am really very sorry for such inconveniences, this is no way acceptable.

      We will definitely fix all these by next update, even we are goong to use minified script for WCfM very soon.

      Can you please tell us which are the plugins you are using in for caching then we will specifically test with them.

      Autoptimize has no issues as all our demos run with this and nothing breaks.

      Thank You

    • #14426
      dani1341
      Guest

      Hi, just selecting in “Autoptimze” the option “Optimize JavaScript Code?” breaks most of the functions (adding products, seeing products in products page and even the settings page is all messed up.
      I have tried “WP Fastest Cache” instead of “Autoptimize” and it still breaks the same functions.

    • #14430
      WCfM Forum
      Guest

      Hi,

      We are just looking into this.

      Script minification causes some issues, we will handle this in new version be sure.

      Really sorry for such inconvenience.

    • #14506
      WCFM Forum
      Keymaster

      Hi,

      WCFM 3.2.2 has just released and we have added exclusive support for WP cache and minify plugins.

      Kindly update yours and take a look.

      Be sure, you have to purge existing cache and JS/CSS minification after updating the plugin.

      Thank You

    • #14520
      dani1341
      Guest

      Hello, i would like to report that even after the update there are still issues with javascript (when adding a product).
      I checked wcfmu-script-products-manage.js and there are still //Comments inside it which breaks when minified (the first one i saw), it seems most of the issues are resolved but it still breaks due to the added //Comments within all of the javascript files.

      Im sorry if im annoying and thanks.

    • #14525
      Shhiv Narayan
      Keymaster

      Hi,

      No way of annoying!!

      We have tested the plugins with Autoptimize, WP Fatest Cache, WP Super Cache, High Velocity Minifier and many other plugins as well.

      Those comments are not all issue for minification.

      Between, currently which caching or minifier plugin you are using in?

      Hope you have purge opd cache and js/css minifies?

      Can you please take a look into Google Chrome Incognito mode, may be some browser caching is there!!

      And please tell me the plugin name, I will check that again.

      Really sorry for the repeating the same trouble.

      Shhiv

    • #14527
      dani1341
      Guest

      Im using Autoptimize
      https://de.wordpress.org/plugins/autoptimize/

      A3 Lazy Load
      https://de.wordpress.org/plugins/a3-lazy-load/

      Im using WC Frontend Manager + WC Frontend Manager Ultimate + WC Vendors + WC Vendors Pro

      The settings i want to use in autoptimize
      https://puu.sh/y0ZBq.JPG

      Before activation of javascript minification from autoptimize
      https://puu.sh/y0ZBk.JPG
      https://puu.sh/y0ZBh.JPG

      And after activation of javascript minification from autoptimize
      https://puu.sh/y0ZBn.JPG
      https://puu.sh/y0ZBf.JPG

      Browser used Firefox (latest version) with cache disabled.

    • #14528
      Shhiv Narayan
      Keymaster

      Really thanks for such detailed info, we are checking with the same setup.

      We didn’t check with A3 Lazy Load even!!

      Thanks for your cooperation.

    • #14532
      Shhiv Narayan
      Keymaster

      Hi,

      Can you please send me one more screenshot please!!

      When you are getting such page – https://puu.sh/y0ZBn.JPG
      I want to check browser console errors.

      Easiest way to get this – Open the site in Google chrome and press F12 and you will have browser console, hope you already know about this.

      Actually I have setup the things and getting a error from Autoptimize for “Force JavaScript in?” this settings but that error is not from WCFM scripts, so I want to verify are you getting same error or something different!!

      Thanks for all your cooperation.

      Shhiv

    • #14566
      dani1341
      Guest
      This reply has been marked as private.
    • #14580
      WCFM Forum
      Keymaster

      Ahh … that will be really great.

      Thanks for your cooperation.

    • #14713
      WC Lovers Forum
      Keymaster

      HI,

      We are waiting for your response and staging access.

      Thank You

    • #14747
      sylvia
      Participant
      This reply has been marked as private.
    • #14748
      WCfM Forum
      Guest

      Hi,

      Really thanks for that.

      I am just looking into the issues righ now.

      Thanks for your cooperation.

      Shhiv

    • #14826
      Shhiv Narayan
      Keymaster

      Hi,

      I have debugged into the issue and this is not for WCFM scripts or any comment within Javascript files.

      Can you please contact us at mail, I want to show you snap and if you can tell me from which plugin those are loading?

      Even I found that your site “contact us” broken and reason is same.

      Between, all these only because of “Force JavaScript in?” this option from “Autoptimize”, actually most of the scripts can’t work from head. This also break Javascript inter-dependencies, best is to avoid this for large sites, specially when you have too many plugins and lots of Javascript files.

      Please contact me at wclovers.contact@gmail.com or submit here https://wclovers.com/contact-us/

      Thank You
      Shhiv

    • #14873
      Shhiv Narayan
      Keymaster

      I am closing this topic as this issue is not from any WCFM JS, rather it’s configuration mismatch.

      WCFM has no issues with “Autoptimize” and “A3 Lazy Loading”

      Thanks for your patience.

Viewing 16 reply threads
  • The topic ‘Javascript issues’ is closed to new replies.