• Resolved tclthomas

    (@tclthomas)


    Hi Guys,

    I use the plugin to create a product feed for FB & Instagram. The feed created uses default variations only and has the exact same amount of products on it as the backend of Woocommerce says are published, 279 in total.

    However, I was importing the xml feed into a Google Spreadsheet and comparing it to a list of all the products & variations to see double check if any are missing. It turns out that I have one product missing from the FB feed that should be there, as I only have 278 unique product codes. So I ran a duplicate test and found one of the products was duplicated, bringing it back up to 279.

    There’s no reason why the product should be duplicate, I double checked that it has default variation set etc.

    So, has anyone come across this problem before where one product is missing and has instead been replaced by a duplicate of another product?

    The item group ids go like this:
    28265 – incorrectly missing
    28266 – included
    28267 – duplicated

    Thanks in advance for any help

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

    Changes are that your feed got stuck processing causing a duplicate.

    Can you change the batch size of the plugin to a lower number so it uses less server resources which minimises the change of the plugin getting stuck processing. The default batch size is 750, try lowering it to 500 or so. This is how: https://adtribes.io/batch-size-configuration-product-feed/

    Thread Starter tclthomas

    (@tclthomas)

    Ok, I’ll give that a try and come back to you.

    Thread Starter tclthomas

    (@tclthomas)

    Seems to have made it worse. I went from only having one duplicate to now having 5 or 6.

    Did you check your WooCommerce fatal error log of today to see what is in there? This is where you can find those logs: https://docs.woocommerce.com/document/finding-php-error-logs/

    Can you share the content of todays log with us?

    Thread Starter tclthomas

    (@tclthomas)

    There aren’t any fatal error logs from today. The last fatal error log is from the 16th July.

    Than lower the batch size to an even lower amount.

    Thread Starter tclthomas

    (@tclthomas)

    That made it much worse. I lowered the batch size to 50 and now I’ve gone from originally having 2 duplicates, to having 6, and now finally 30.

    I’ve increased the batch size back to normal and the duplicates are back to 2.

    Can you share the plugin debug.log URL with us so we can see some more details about the feed configuration itself and the update information? This is how to retrieve the debug.log URL: https://adtribes.io/send-your-debug-log-to-support/

    Thread Starter tclthomas

    (@tclthomas)

    Hey,

    Yeah, it’s:

    https://www.superga.de/wp-content/uploads/woo-product-feed-pro/logs/debug.log

    To find the correct feed here’s the channel hash:

    [channel_hash] => a80023c048bcf50aa70821992617d970

    Hi,

    Thanks for this. Seems like you are getting duplicates is because you mapped the item_group_id to the g:id field. The item group ID is not an unique ID but the parent product ID of a variable product. With the mapping you created your variations of a variable product will all get the same g:id value and as such be reported as duplicates. Can you revert back to the default field mapping where the g:id field is mapped to the “product ID”?

    Thread Starter tclthomas

    (@tclthomas)

    Hey,

    That’s where I started from though, and it does not prevent duplicates, it simply prevents Facebook from picking up on them. The product is still in the feed twice.

    Also, it just hasn’t worked in general, see below how the item group ID is different to the ID and yet it is still duplicated:

    <item>
    <g:id>19974</g:id>
    <g:brand>Superga</g:brand>
    <g:availability>in stock</g:availability>
    <g:condition>New</g:condition>
    <g:description>Kostenfreier Versand innerhalb Deutschlands. Kostenfreier Rückversand innerhalb Deutschlands.</g:description>
    <g:image_link>https://www.superga.de/wp-content/uploads/2020/12/S1118FW-SA0B-white-multicolor-dot-1.png</g:image_link>
    <g:link>https://www.superga.de/product/2795-polyromanticdotsw-white-multicolor-dot/?utm_source=social&utm_campaign=ZAHL-SCHUHNAME&utm_medium=ig&utm_term=19974</g:link>
    <g:title>2795 POLYROMANTICDOTSW white-multicolor dot</g:title>
    <g:price>EUR 89.95</g:price>
    <g:item_group_id>19966</g:item_group_id>
    <g:google_product_category>187</g:google_product_category>
    <g:product_type>Home > Damen</g:product_type>
    <g:size>39</g:size>
    <g:gtin>8032751532273</g:gtin>
    <g:sale_price>EUR 39.95</g:sale_price>
    <g:identifier_exists>yes</g:identifier_exists>
    </item>
    <item>
    <g:id>19974</g:id>
    <g:brand>Superga</g:brand>
    <g:availability>in stock</g:availability>
    <g:condition>New</g:condition>
    <g:description>Kostenfreier Versand innerhalb Deutschlands. Kostenfreier Rückversand innerhalb Deutschlands.</g:description>
    <g:image_link>https://www.superga.de/wp-content/uploads/2020/12/S1118FW-SA0B-white-multicolor-dot-1.png</g:image_link>
    <g:link>https://www.superga.de/product/2795-polyromanticdotsw-white-multicolor-dot/?utm_source=social&utm_campaign=ZAHL-SCHUHNAME&utm_medium=ig&utm_term=19974</g:link>
    <g:title>2795 POLYROMANTICDOTSW white-multicolor dot</g:title>
    <g:price>EUR 89.95</g:price>
    <g:item_group_id>19966</g:item_group_id>
    <g:google_product_category>187</g:google_product_category>
    <g:product_type>Home > Damen</g:product_type>
    <g:size>39</g:size>
    <g:gtin>8032751532273</g:gtin>
    <g:sale_price>EUR 39.95</g:sale_price>
    <g:identifier_exists>yes</g:identifier_exists>
    </item>

    Edit: Just to clarify – the reason I mapped the group ID as the product ID is because the group ID will not change. Whereas the product ID in the feed might if the default variation is changed, which would remove the product from the FB shop and delete the tags from my posts. Which just happened on all my recent posts because of the ID change I just implemented haha.

    • This reply was modified 4 years, 10 months ago by tclthomas.
    • This reply was modified 4 years, 10 months ago by tclthomas.
Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Duplicate Product & Missing Product’ is closed to new replies.