Home Forums WoodMart support forum Script in the header breakes the site

Script in the header breakes the site

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #614085

    senka.rankovic
    Participant

    Hello,
    I have some scripts for tracking and consent mode in the header. They were working fine but since the update site doesn’t work with them. Also I’ve tried to send them to you, but it wouldn’t allow it. I’m sending you print screen and the file for you to see the scripts.
    Thank you

    Attachments:
    You must be logged in to view attached files.
    #614089

    senka.rankovic
    Participant

    I will try with pdf

    Attachments:
    You must be logged in to view attached files.
    #614162

    Artem Temos
    Keymaster

    Hello,

    Thank you so much for contacting our support center.

    To better assist you, could you kindly test the functionality with default WordPress themes such as TwentyTwenty or WooCommerce Storefront? This will help us determine whether the issue stems from our theme or elsewhere.

    Regards

    #614249

    senka.rankovic
    Participant

    It seems to have issues with Woodmart theme, I’ve tested with Storefront and there is no issues. But have in mind that most of the functionalities come from Woodmart, like menus and layouts. When I test with woodmart the images, cart and sticky menu doesn’t load.

    #614258

    Artem Temos
    Keymaster

    In this case, you need to check why Wordfence plugin blocks this particular request. If you can’t find the reason in the plugin’s logs, contact the plugin’s developers for instructions.

    #614266

    senka.rankovic
    Participant

    I’m not sure I understand.
    When I copy these scripts to woodmart theme header directly, without plugin, it’ the same problem.
    And your plugin blocked the scripts when I tryed to send them to you. I’m not sure what is the problem, because scripts worked before without issues.

    #614326

    Artem Temos
    Keymaster

    Oh, sorry. I thought that you sent a screenshot from your website.

    Could you please clarify how can we test if the scripts work or not on your website? We need your admin access and the ability to switch between themes to see how our theme influences this issue.

    #614350

    senka.rankovic
    Participant

    Ok,
    Because it is a live webshop you need to use plugins for testing
    I use plugin Health Check & Troubleshooting for testing and WP Headers And Footers for the screepts.
    At the moment WP Headers And Footers is turned off because site doesn’t work otherwise, you can turn it on before testing.
    I’m sending you details for admin accsess

    #614360

    Artem Temos
    Keymaster

    OK, but we also need instructions from you on how to verify if the code works or not.

Viewing 9 posts - 1 through 9 (of 9 total)