• Resolved onlyreborns

    (@onlyreborns)


    when I have WP – optimize activated, my vendors using Woocommerce/Dokan business cannot edit or add short descriptions or descriptions to products.

    oddly, when I am logged in as an admin, I can edit or add these products in the catalog.

    this problem began occurring with the latest update to WordPress, 6.5.5. Prior to the WordPress update I had no problems with this plug-in.

    does anyone have a solution?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support wpmansour

    (@wpmansour)

    It sounds like the issue might be related to caching settings. One thing you could try is excluding the specific URLs related to the vendor’s product management from being cached. To do this, go to your WP Admin Panel, navigate to WP-Optimize -> Cache -> Advanced settings. There, you can add the paths for the vendor’s product management pages to the “URLs to exclude from caching” field. This way, those pages won’t be affected by the cache and might solve the problem.

    Additionally, ensure that caching is not affecting logged-in users, which might include your vendors. You can check this by going to WP Admin Panel -> WP-Optimize -> Cache. Make sure that the option “Serve cached pages to logged in users” is disabled. This setting ensures that any logged-in user, like your vendors, won’t experience cached versions of their pages, which might be causing the editing issues.

    Let me know if this helps or if you need further assistance!

    Thread Starter onlyreborns

    (@onlyreborns)

    Thank you. I verified the settings as you suggested, and added /dashboard/* as a URL to exclude, but unfortunately that does not solve the issue I am having…Once activated, a vendor still cannot edit or add the short description or the product description. Any other ideas would be greatly appreciated!

    Screenshots: https://imgur.com/a/6EuFi70

    • This reply was modified 3 months, 2 weeks ago by onlyreborns.
    Plugin Support vupdraft

    (@vupdraft)

    Do you have the option to “Serve cached pages to logged in users” checked?

    Thread Starter onlyreborns

    (@onlyreborns)

    per the instructions above, I disabled that. It unfortunately did not resolve the issue. This plug-in seems to offer so much and I would be willing to purchase the premium, but I can’t do that until I know it works.

    Plugin Support vupdraft

    (@vupdraft)

    What tool are you using to edit your products? For example Beaver builder.

    Can you try deactivating minification and merging?

    Thread Starter onlyreborns

    (@onlyreborns)

    I am not using a separate plugin/tool. I have Dokan for woocommerce.

    Thank you! if I turn off minify , it works!!!

    But I kind of need the minify options to help reduce load times…

    Plugin Support vupdraft

    (@vupdraft)

    Is it the minifcation or the merging that is causing issues?

    If it’s the merging, your site supports http2 so merging will be making it slower

    Thread Starter onlyreborns

    (@onlyreborns)

    I am assuming it is the minify, which I really do want because I believe that would help to minimize load time

    I do not see anything in the settings called merge. Please advise.

    Plugin Support vupdraft

    (@vupdraft)

    Merging is a setting within minify

    For JS go to Minify >> Javascript and uncheck the box next to “Enable merging of JavaScript files”

    It’s the second one down in the screenshot (it’s checked in the screenshot)

    https://snipboard.io/pWkr3O.jpg

    For CSS go to the CSS tab and you should see an identical option

    Thread Starter onlyreborns

    (@onlyreborns)

    thank you. Ther merge was enabled. I disabled it and activated minify. Still cannot edit product descriptions if minify is enabled

    Plugin Support vupdraft

    (@vupdraft)

    You are going to need to isolate the file that is causing the issue and exclude it from processing.

    Fist see if it is the CSS minifcation or the JS minifcation.

    To do this in the Javascript and CSS tabs uncheck minifcation by deselecting the option to “Enable minification of JavaScript files” in the Javascript tab and then check if you still see the issue, if you do not it’s the JS. If you do, uncheck the equivalent check box in the CSS tab.

    Thread Starter onlyreborns

    (@onlyreborns)

    Thank you! I really appreciate all of the help/support here!

    I have confirmed that the problem is related to the JS minification. I have tried allowing JS minification with and without JS merging.

    It seems I can enable CSS minification, so that is a step in the right direction! The site contains quite a bit of JavaScript, so being able to minify that would be ideal to help with site load times.

    Any ideas?

    Plugin Support vupdraft

    (@vupdraft)

    You can find the JS files that are causing the issue and exclude them from processing.

    Here are some instructions

    • Install the Blue Button Chrome extension?
    • – Turn off minfication? and load the page in your browser.
    • – In blue button, click on Stylesheets or Scripts to get the list of internal and external CSS and JavaScript files on your site.?
    • -Turn on minify

    – Copy the list of CSS files and add them to Minify CSS >> Exclude the CSS files from processing.

    Then, remove the files one by one, checking as you go to see if the script is causing issues


    • To exclude troublesome JS files;
    • 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 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.