Support » Plugin: Woocommerce Google Feed Manager » Problem with the product descriptions when there are links into it

  • Resolved fotske



    There is a problem in the feed when the product description (“Product Short Description” in my case) contains a link.
    For example imagine that the product short description is:

    “This amazing product is ideal to make a delicious marble cake.”
    (so there is a link on the webpage to a certain recipe)

    The problem is that this “code” “<a href=”…” is in the XML feed and then is also in the description of the product in Google Merchant Center.

    Could you please make so that your plugin “ignores” this kind of “code” into the descriptions and only writes in the XML feed:
    “This amazing product is ideal to make a delicious marble cake”.

    Thank you very much in advance.

Viewing 5 replies - 16 through 20 (of 20 total)
  • Hi Michel,

    I already have a Child Theme so I pasted your code into the functions.php file of my Child Theme but after having done that the feeds do not generate anymore, it fails each time.
    So I erased the lines of code from the functions.php file of my Child theme but it does not resolve the problem, I get an error each time a regenerate a feed…
    What should I do?

    Thank you for your help.

    Plugin Contributor Michel Jongbloed


    Could you try the steps in the FAQ list: it’s a long list but usually the first few steps should solve the issue.

    Plugin Contributor Michel Jongbloed


    Hi @fotske,

    I thought about it and agree with you that under normal circumstances there should not be a link in the description or in the short description of a product. So the next version will have that filter build in. I also added a filter that would allow users to bypass this filter should they need it.

    You can wait for the next version to come out (somewhere end of this month) or if you want I could send you two patch files that you could implement to test it out. Let me know if you want the patch files.

    Hi Michel,

    Thank you for adding this to the next version.

    I am going to wait for the new version to test it. Please remind me to make the test when the new version is out.

    Thank you very much in advance.

    Plugin Contributor Michel Jongbloed



    The new version had been released beginning of this week so I’ll close your topic now.

    If you have any new questions or issues with this topic, don’t hesitate to reopen it again.

Viewing 5 replies - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.