Forum Replies Created

Viewing 15 replies - 1 through 15 (of 52 total)
  • Thread Starter jlmwp

    (@jlmwp)

    Hello
    Turns out it was a must-use plugin that was conflicting with this plugin.

    Thanks for your guide.
    Good bye.

    Thread Starter jlmwp

    (@jlmwp)

    Hello

    I tested the script and made a few changes. This is the script i’m now using

    add_action( 'wp_footer', function(){
    if (is_product()) { ?>
    <script type="text/javascript">
    jQuery(document).ready(function($){
    $( document.body ).on( 'adding_to_cart', function( e, $button, formData ){
    if( formData.has('action') && formData.get('action') === 'xoo_wsc_add_to_cart' ){
    $button.attr('data-product_id', formData.get('add-to-cart'));
    }
    });
    });
    </script>
    <?php
    }
    } );

    The error is gone and the Add Cart event is created.
    Thank you

    Thread Starter jlmwp

    (@jlmwp)

    Thanks. I’ll test this and tell you how it went.

    Thread Starter jlmwp

    (@jlmwp)

    Hello

    OK, turns out the filter is not created if the User Agent contains the “adsbot” word on it.

    I tested this on the dev site, with the cache plugin not installed, and changing the User Agent name. The filter was missing.

    So is not a cache related problem. The cache pages were just begin created as the bot visited the pages, so each time the filter was missing.

    I still have to find out why this happens, but I’ll close the thread for now. If i need i’ll contact you again.

    Thanks for the guidance.

    Thread Starter jlmwp

    (@jlmwp)

    Hello

    This is the html code when the filter is shown


    And this is the code when the filter is missing

    When the filter dissapears, the widget div is empty. We use a “Custom Html” widget to insert the filter as a shortcode. I also tested with the plugin’s own widget, but the error still happened.

    I added the “Issues” tab to the capture. On error, the “Setting cookie in cross-site” warning appears, but I don’t know if it’s related

    Regards.

    Thread Starter jlmwp

    (@jlmwp)

    Hi

    Yes, that part, but only the second filter (“Categorías”). The price range is from another plugin that works well.

    As for the error messages. There are no errors on the Browser’s dev tool. I also haven’t found any related errors on the error_log file, the debug_log when is enabled nor in the Cron Tasks.

    What I noticed is that the response headers are a little different on each case.

    These are normal response headers

    * General
    Request URL: https://www.bicicosas.cl/categoria/reflectantes-autoadhesivos/
    Request Method: GET
    Status Code: 200 OK
    Remote Address: 200.73.115.33:443
    Referrer Policy: strict-origin-when-cross-origin

    * Response Headers
    alt-svc: h3=":443"; ma=2592000, h3-29=":443"; ma=2592000, h3-Q050=":443"; ma=2592000, h3-Q046=":443"; ma=2592000, h3-Q043=":443"; ma=2592000, quic=":443"; ma=2592000; v="43,46"
    cache-control: no-store, no-cache, must-revalidate
    content-encoding: br
    content-length: 42819
    content-type: text/html; charset=UTF-8
    date: Wed, 07 May 2025 17:25:03 GMT
    edit: Set-Cookie (.*) "$1;HttpOnly;Secure"
    etag: "70605-1746638591;br"
    expires: Thu, 19 Nov 1981 08:52:00 GMT
    link: <https://www.bicicosas.cl/wp-json/>; rel="https://api.w.org/"
    link: <https://www.bicicosas.cl/wp-json/wp/v2/product_cat/70>; rel="alternate"; title="JSON"; type="application/json"
    pragma: no-cache
    referrer-policy: no-referrer-when-downgrade
    server: LiteSpeed
    setifempty: Referrer-Policy: same-origin
    strict-transport-security: max-age=300; includeSubDomains; preload
    vary: Accept-Encoding,User-Agent
    x-content-type-options: nosniff
    x-frame-options: sameorigin
    x-litespeed-cache: hit
    x-permitted-cross-domain-policies: none
    x-powered-by: PHP/8.3.19
    x-xss-protection: 1; mode=block

    And these are from the same page when the error happens

    * General 
    Request URL: https://www.bicicosas.cl/categoria/reflectantes-autoadhesivos/
    Request Method: GET
    Status Code: 200 OK
    Remote Address: 200.73.115.33:443
    Referrer Policy: strict-origin-when-cross-origin

    * Response Headers
    cache-control: no-store, no-cache, must-revalidate
    content-encoding: br
    content-type: text/html; charset=UTF-8
    date: Wed, 07 May 2025 17:20:39 GMT
    edit: Set-Cookie (.*) "$1;HttpOnly;Secure"
    etag: "70491-1746635348;br"
    expires: Thu, 19 Nov 1981 08:52:00 GMT
    link: <https://www.bicicosas.cl/wp-json/>; rel="https://api.w.org/"
    link: <https://www.bicicosas.cl/wp-json/wp/v2/product_cat/70>; rel="alternate"; title="JSON"; type="application/json"
    pragma: no-cache
    referrer-policy: no-referrer-when-downgrade
    server: LiteSpeed
    setifempty: Referrer-Policy: same-origin
    strict-transport-security: max-age=300; includeSubDomains; preload
    vary: Accept-Encoding,User-Agent
    x-content-type-options: nosniff
    x-frame-options: sameorigin
    x-litespeed-cache: hit
    x-permitted-cross-domain-policies: none
    x-powered-by: PHP/8.3.19
    x-xss-protection: 1; mode=block

    On both cases the “x-litespeed-cache” field shows “hit”, but when the error happens there is no “content-length” field.

    Two things I tested:

    Thanks.

    Thread Starter jlmwp

    (@jlmwp)

    Hello.
    I sent the report. The ID is UEVCBXNN

    Regards

    Thread Starter jlmwp

    (@jlmwp)

    Hello
    Thanks for your suggestions.
    Just to explain. I was looking at the Pixel options on Commerce Manager when the “Woocommerce Integration” dissapeared from the data sources.
    I tried the “Facebook: Reset connection settings” and reconnected a few times, but the “Woocommerce Integration” data source did not appear. This happened on the Production and Testing sites.

    Anyway, it appeared again after a few minutes, and nothing has happened since. I even turned off all the Pixel options on CM, just to test.

    Thank you again. I’m going to close this topic and i’ll be in touch if anything happens.

    Regards.

    Thread Starter jlmwp

    (@jlmwp)

    Thank you.

    Thread Starter jlmwp

    (@jlmwp)

    Hello

    I just noticed that the Woocommerce Integration Data Source is back on the list and the Products are back on the catalog.

    What could cause this? Can I disable all the Catalog options of the Pixel? (Add, delete, update)

    Thank you.

    Thread Starter jlmwp

    (@jlmwp)

    Hello

    It got fixed. I searched the forums and found this topic https://ww.wp.xz.cn/support/topic/could-not-find-product-item-for-catalog-id/

    So I looked into the plugin tools and applied these three:

    1. Facebook: Delete Background Sync Jobs
    2. Facebook: Reset all products
    3. Facebook: Reset connection settings

    I re-connected, and after checking that the related cron jobs got executed, I tested my products.

    No errors were shown and the products were updated correctly.

    Thank you for all the support.
    Regards.

    • This reply was modified 1 year, 4 months ago by jlmwp.
    • This reply was modified 1 year, 4 months ago by jlmwp.
    Thread Starter jlmwp

    (@jlmwp)

    Hello

    I created a new blank site, on a new subdomain. I installed WordPress, Woocommerce and the Facebook plugin from scratch.
    On this new installation everything worked. Simple and Variable products where created and updated correctly.
    At some point, the Variable product threw and error when updating, but it fixed itself after reloading the page.

    Then, i started to test my cloned site. I repeated the steps and even deleted every other plugin. I also deleted most products to test the batch sync.
    Only the simple product is created and updated.

    Here is a link to today’s logs from my testing cloned site.
    I also included the ‘facebook_for_woocommerce-2025-01-02.log’ that is from the working blank site.

    https://drive.google.com/file/d/1aDps7XC3bPMjpitirj9uSdSh8MCYWaFn/view?usp=drive_link

    Thank you.

    Thread Starter jlmwp

    (@jlmwp)

    Hello
    Thank you for your suggestions.

    I cloned the production site and created and conflict free testing site.
    I deactivated all other plugins and activated the StoreFront theme.
    I also rolled back Woocommece to version 9.4.3 and reconnected the facebook plugin to testing accounts on Meta. Only a few products were created on the new catalog.

    Then, I created a new Simple Product. After saving it, no errors appeared and the product got created on the catalog, good. Then I tested updating some values on the product, saved them, and these changes also were updated on the catalog. No problems.

    Then, I made the same test on a Variable product following the guide you provided.
    Created, saved and published the product. No errors were shown, but the product was not created on the catalog.

    No matter what changes I make, the product is not being created.

    Here is a link to the System Status report
    https://drive.google.com/file/d/14bJWSYfUc3iBUWqLKDBAjUddbcZW7QeH/view?usp=drive_link

    This is the configuration on the variable products variations

    Thank you.

    • This reply was modified 1 year, 5 months ago by jlmwp.

    Based on the code from @cheydesofblack I made this snippet, no plugins required
    Thank you all.

    /* customizer_fix */
    function customizer_fix() {
    echo '<style>
    .accordion-section-title button.accordion-trigger{
    height: auto! important;
    }
    </style>';
    }
    add_action('customize_controls_head', 'customizer_fix');
    Thread Starter jlmwp

    (@jlmwp)

    Hello

    We use a shared hosting provider that uses Litespeed as web server and Modsecurity.

    Thank you.

Viewing 15 replies - 1 through 15 (of 52 total)