Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1227159
    fatheaddrummer
    Participant

    Hi Awesome support team,

    Thank you so much for helping me out in advance.

    Since I made only a text change to a single product, the product is no more showing up correctly while me other product ( i only have 2 at the moment) is displayed correctly….

    displayed incorrect: https://www.diamond-precision-studio.com/produkt/top-sound-mit-kleinem-budget/top-sound-mit-kleinem-budget/

    displayed correct (different product): https://www.diamond-precision-studio.com/produkt/custom-purchase/

    Could you please help me finding out, what’s going on?

    Thank you so much!

    #1227160
    fatheaddrummer
    Participant
    This reply has been marked as private.
    #1227166
    fatheaddrummer
    Participant

    PS: Cloudflare is in development mode, so it shouldn’t be affecting changes…

    #1227212
    Christopher
    Moderator

    Hi there,

    Please disable cache and seo plugin, clear cache and check again.

    Thanks.

    #1227452
    fatheaddrummer
    Participant

    Hello ad thanky for the hint!

    I have now disabled concatenating, minifying and defering all java script, which solves the issue. Now I need to exclude the Java script file which is resonsible to show the product description.

    https://www.diamond-precision-studio.com/produkt/top-sound-mit-kleinem-budget/

    You can see on this page, there’s no product description. When I disable Java minifying and defering, it’s displayed correctly…

    Could you please tell the file to be exluded from this process?

    Thank you very much!

    Best, Christian

    #1227791
    Paul R
    Moderator

    Hi Christian,

    You may exclude these files as it is already minified.

    x-head.min.js
    x-body.min.js

    If you set minification to auto it should do it for you.

    http://screencast.com/t/jQk5rO97

    Thanks

    #1227959
    fatheaddrummer
    Participant

    Hello Paul,

    Thank you so much for the detailed info!
    I am using autoptimize for all concatenating, minification and defering, as I learned in a course that does the better job.

    Unfortunately, excluding these 2 Files didn’t do the trick. But I’ve already successfully excluded other files and know that excluding in autoptimize works well…

    Do you have any other ideas?

    Thank you so much!

    Best, Christian

    #1228017
    Rue Nel
    Moderator

    Hello There,

    Could please disable all your caching first and then do the minification?

    Please let us know how it goes.

    #1228021
    fatheaddrummer
    Participant

    I’ve now disabled all caching and only did the js optimization.
    It didn’t do the trick unfortunately 🙁

    Any more ideas?

    Thank you very much!
    Best, Christian

    #1228028
    Rue Nel
    Moderator

    Hello Again,

    Caching is still active.

    Could please left it being deactivated so that we can investigate further?

    Thank you.

    #1228031
    fatheaddrummer
    Participant

    I have reactivated, as google is currently indexing my site and I don’t want to get a bad speed score…
    But I’ll keep it deactivated for now.

    Thanks!
    Best, Christian

    #1228073
    Rue Nel
    Moderator

    Hello There,

    Please keep in mind that if a product does not have any content, the product description tab will not display in the front end. I have tried finding out any possible way of what has cause the issue but I wasn’t able to figure it out. Could you please try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Please let us know how it goes.

    #1228078
    fatheaddrummer
    Participant

    Hello Rue,

    As you can see in the beginning of this thread, I know exactly which plugin is causing the conflict.
    I am using autoptimize and I am using it to defer and concatenate js. If I disable this function it all works good. The thing is that it took days to set up autoptimize and achieve really really good speed rankings with it. Now I cannot get rid of this plugin.

    The product description doesn’t work because it affecting js that the product descrption needs. I already excluded the java files that where recommeded to me in the beginning of this thread. I know that autoptimize works well with exclusion, so my idea is, that there are more js files to be excluded in order to make product description working.

    Unfortunately I don’t know, which files else need to be excluded…

    That’s the thing.

    Do you have any more ideas?

    Thanks!

    Best, Christian

    #1228291
    Rad
    Moderator

    Hi there,

    I think the issue is the order and script dependencies. Example, even if you exclude a script, it will still appear on top of the Autoptimize minified script. Hence, any script running before jQuery (minified by Autoptimize) will not work. All script should be declared only after the core libraries such as jQuery.

    Currently, this is how it’s generated on your site

    <script type="text/javascript" src="https://www.diamond-precision-studio.com/wp-content/themes/x/framework/js/dist/site/x-body.min.js?ver=4.6.2"></script>
    <script type="text/javascript" defer="" async="" src="https://www.diamond-precision-studio.com/wp-content/cache/autoptimize/js/autoptimize_e3f8881c988a3514d8174e917df8963b.js"></script>

    If it’s going to be like this then it might work

    
    <script type="text/javascript" defer="" async="" src="https://www.diamond-precision-studio.com/wp-content/cache/autoptimize/js/autoptimize_e3f8881c988a3514d8174e917df8963b.js"></script>
    <script type="text/javascript" src="https://www.diamond-precision-studio.com/wp-content/themes/x/framework/js/dist/site/x-body.min.js?ver=4.6.2"></script>

    Hence, it’s best not to exclude them in this case, and make the minification order the same as how it was ( eg. libraries first, then plugin/theme’s scripts ).

    Is it okay if I change your current settings? I just like to confirm its setting. Please backup your site first.

    Thanks!

    #1228357
    fatheaddrummer
    Participant

    Hello Rad,

    It would be awesome if you could do the changes – so you have my permission! I just made a backup of my website! It took a while – sorry for that…

    If you are successful could you please also tell me, how you could affect the order of js as you showed me in your example?

    Thank you very much!

    Best, Christian

  • <script> jQuery(function($){ $("#no-reply-1227159 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>