If your product description attribute is containing HTML or shortcodes you could run into the error that your description attribute is too long for the Channel you created it for. For instance for a Google Product feed you have a 5.000 characters limit. This limit is including the HTML and other irrelevant characters so removing those characters from your description attribute will help you stop this error from showing up.
With the feed manager, you can solve this easily with the “edit values” function in the attributes mapping section next to each attribute on the far right.
In the dropdown, you will find several edit functions you can use to alter the data in the attribute. In this case, you would check out the “strip tags” and “HTML entity decode” functions. Another that can be used is the “limit characters” and also the replace function would be useful where you can replace strings for another string.
WordPress filter #
If the edit value functions are not solving your issue you can use our “wppfm_feed_item_value” WordPress filter we have created to change feed items with PHP code in your functions.php. With the support of the WordPress filter our product feed manager becomes even more powerful if you are an advanced user with PHP knowledge.
Remove visual composer code:
Full clean of the description tag:
If you’re not familiar with using filters in your wp-admin, the best and easiest way to do this is by using a plugin like “Code Snippets“. And here you can find a great video explaining the use of this plugin.