• Resolved classicimportusa

    (@classicimportusa)


    I recently added GTIN attributes to some of my products. I have roughly 10,000 products, and roughly 1,200 have GTIN so far.
    I have also added the {identifier-exists?} attribute set to > Plugin Calculation

    However, I discovered that my XML feed only include 1,200 products, the products missing a GTIN are excluded.

    I have not changed any filters/rules.

    I have tried disabling & enabling the plugin

    I have tried disabling my cache plugin.

    The feed remains the same.

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

Viewing 15 replies - 1 through 15 (of 21 total)
  • Hi,

    Thanks for using our plugin and reaching out to us.

    Can you share the following with us:

    Thread Starter classicimportusa

    (@classicimportusa)

    Thanks for the URL’s. Your debug.log URL is returning a 403 error page, I do not seem to have permissions to open it?

    Thread Starter classicimportusa

    (@classicimportusa)

    Me neither, I am not sure why?

    Thread Starter classicimportusa

    (@classicimportusa)

    I have checked the files permission, there are read rights on the log file. The file is excluded from my cache software as well.

    Thread Starter classicimportusa

    (@classicimportusa)

    I found this line in my .htaccess file
    RewriteCond %{REQUEST_URI} !^(/wp-content/uploads/woo-product-feed-pro/xml/5hsTTxlc1JW1MvMUfFX4zLbYJ3cLviyJ.xml|/request-quote/|/wp-content/uploads/woo-product-feed-pro/logs/debug.log|/(?:.+/)?feed(?:/(?:.+/?)?)?$|/(?:.+/)?embed/|/checkout/(.*)|/cart/|/my-account/(.*)|/wc-api/v(.*)|/(index\.php/)?wp\-json(/.*|$))$ [NC]

    I have no idea what it means. But it includes the debug.log

    I think that indeed causes the debug.log to be “closed” to the outside world. This line does not end up in your htaccess file itself so someone with a technical background must have add it.

    Thread Starter classicimportusa

    (@classicimportusa)

    There is another developer who originally built the site, he may have done this.
    Should I regenerate the .htaccess file?

    You should at least remove that line from your htaccess file yes

    Thread Starter classicimportusa

    (@classicimportusa)

    I regenerated the .htaccess file. It now only contains the default

    # BEGIN WordPress
    # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    Thread Starter classicimportusa

    (@classicimportusa)

    https://pastebin.com/Rju5AKni

    Here is the debug.log I downloaded and put on pastebin

    Thanks for this.

    I suspect the two exclude filters you created are causing the issue at hand.
    Did you already try removing those filters and see if that results in way more products in your feed?

    [1664551760139] => Array
                            (
                                [rowCount] => 1664551760139
                                [attribute] => regular_price
                                [condition] => <
                                [criteria] => 5
                                [than] => exclude
                            )
     
                        [1666116462815] => Array
                            (
                                [rowCount] => 1666116462815
                                [attribute] => exclude_from_all
                                [condition] => =
                                [criteria] => yes
                                [than] => exclude
                            )
    Thread Starter classicimportusa

    (@classicimportusa)

    As mentioned in my original post, I have not changed any filters/rules. These filters have been in place for months without issues. These filters remove products with a price under $5 and removes products that I have set as hidden from the catalog. I have been using the plugin for months, it wasn’t until I added GTIN’s to some of my products that it started excluding everything else.
    The plugin only includes products with a GTIN, if there is not GTIN it is not in the XML.

    I have also noticed that even if I change product data, the feed doesn’t update. Something must be causing the feed not to refresh because it has had the same data even after I change prices on the products in the feed.

    I even just tried removing the GTIN attribute completely but the feed remains the same. I really need help with this, my business is suffering from not being able to advertise our products on google shopping!

    When you shared your debug.log with us the plugin was updating your feeds just fine, see the last update times of your feed:

    [31 Oct 2022 07:50] => 8192
                        [31 Oct 2022 16:34] => 8192
                        [31 Oct 2022 17:52] => 8192
                        [01 Nov 2022 07:49] => 8192
                        [01 Nov 2022 18:48] => 8192
                        [01 Nov 2022 19:02] => 8192
                        [02 Nov 2022 07:48] => 1049
                        [03 Nov 2022 07:46] => 1049
                        [03 Nov 2022 19:09] => 1049
                        [04 Nov 2022 00:37] => 1049
                        [04 Nov 2022 00:55] => 1049
                        [04 Nov 2022 07:52] => 1049
                        [04 Nov 2022 14:31] => 1049

    As you can see you have made a change to your feed configuration on the first or second of November that caused the products in your feed to drop from 8k to 1k.

    Thread Starter classicimportusa

    (@classicimportusa)

    Yes i understand that the feed is trying to update. Please read what I’m saying, I have REMOVED MY CHANGES. The 1,049 products are products with GTINS in the feed. I removed the GTIN field from the plugin. THE FEED STILL SHOWS GTINS WHEN I REMOVED IT. IT DOES NOT UPDATE!

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Product XML Feed Excludes Products without a GTIN’ is closed to new replies.