• Resolved kiburisa

    (@kiburisa)


    Hello, I’m opening this topic again because it was marked as resolved but it was the error was still happening.

    “I’m using your plugin on one of my clients’ websites but I’m running into two problems.

    In this e-commerce we are using Woocommerce Multi-currency, so I already had to deactivate the cache option, since it caused a lot of problems when it came to displaying the prices in the correct currency. Therefore, right now we are only using the minify functionality.

    However, I am running into a new issue with the Trustpilot plugin, which is not showing up when activating this functionality. I’ve tried individually disabling the 3 minify HTML, CSS and Javascript options, one by one and then all 3 simultaneously, but the Trustpilot banner still won’t show unless you completely disable the Minify option, so I don’t even have the option to exclude this plugin’s files from minification.”

    Please note that, as indicated in the original message, “Minify >> Javascript >> Exclude JavaScript from processing” is not working unless the Minify option is deactivated altogether.

    Also, is this plugin actually compatible with Multi-currency?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Can you try disabling merging of both the CSS and JS to see if the issue persists?

    Thread Starter kiburisa

    (@kiburisa)

    When you say merging you mean minify?
    If so, the error persists unless we completely deactivate the Minify option, as indicated in the first message.

    If you mean a different merging option, would you kindly indicate how to do so?

    Also, about our question regarding Multi-currency, should we open a different thread?

    Thanks

    Plugin Support vupdraft

    (@vupdraft)

    In the JavaScript and CSS tabs (when you have minify enabled)

    Deactivate the second check box: https://snipboard.io/Ut5FhP.jpg, the one that says ”?Enable merging of JavaScript files?“

    Do this for both JavaScript and CSS.

    Do you have the caching for logged in users checked?

    Thread Starter kiburisa

    (@kiburisa)

    Thanks. We didn’t have this option enabled for Javascript, deactivated for CSS, but I’m afraid the issue persists.

    Plugin Support vupdraft

    (@vupdraft)

    Apologies for the delay, you will need to find the offending script and exclude it from processing, to do this;

    • Open Developer Tools. You do that either by right-clicking and choosing Inspect Element, or at the top of the window go to: View >> Developer >>Developer Tools
    • Find the red error message indicator on the right-hand side
    • Click it to open the Console, then click the file referenced in the error notice:
    • This takes you directly to the code in the file that is related to the error. Look for the red underline and copy part of that code:
    • Open a new browser tab and load the un-cached version of the page. You will need to use an incognito window
    • Open Developer Tools, then click the 3 dots on the right side and select Search All Files:
    • Paste the problematic code in the search box and it will locate the file in which that code is found:
    • It’s not possible, unfortunately, to copy the filename from this screen. So to do that, click on the Network tab (reload the page if necessary to pull in the files). Then search for the file in the list:

      Once you’ve located the file, right-click on the filename, select Copy, then Copy Link Address to the exclusion list under Minify >> Javascript >> Exclude JavaScript from processing

    After saving this you can visit your site again, reload the page and check that there are no more JavaScript errors reported in the console.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issues with Trustpilot plugin and Woocommerce Multi-currency’ is closed to new replies.