Title: Product Catalog Error
Last modified: April 18, 2018

---

# Product Catalog Error

 *  [waregl94](https://wordpress.org/support/users/waregl94/)
 * (@waregl94)
 * [8 years ago](https://wordpress.org/support/topic/product-catalog-error/)
 * I installed your plugin, Pixel Caffeine, but am having problems creating my product
   catalog. It gives me an error on the first product that does not have a description.
   It says “Product #284035 error: the field description must not be empty.” But
   I have over 27,000 products in my store which is populated automatically through
   affiliate product feeds, so I can not review every single product. Is there a
   way to make the plugin ignore products that have errors and continue with creating
   the product catalog? What should I do?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Antonino Scarfì](https://wordpress.org/support/users/antoscarface/)
 * (@antoscarface)
 * [8 years ago](https://wordpress.org/support/topic/product-catalog-error/#post-10246017)
 * Hi,
 * sorry for the large delay on my response, I wasn’t able to check the forum in
   this period, thanks for your patience.
 * About your request, the Facebook feed must contain a description to all items,
   is mandatory for Facebook. So, a solution to this is adding this code snippet
   at the end of `functions.php` file of your active theme or in a new one-file 
   plugin:
 *     ```
       add_filter( 'aepc_feed_item_description', function( $description, PixelCaffeine\ProductCatalog\FeedMapper $item ) {
       	if (empty($description)) {
       	    $description = 'Write HERE a default description';
           }    
           return $description;
       }, 10, 2 );
       ```
   
 * In this way, you will give a default description to all items that don’t have
   a description, just change that `Write HERE a default description` with something
   and you will solve.
 * Let me know if it helps for you.
    -  This reply was modified 8 years ago by [Antonino Scarfì](https://wordpress.org/support/users/antoscarface/).

Viewing 1 replies (of 1 total)

The topic ‘Product Catalog Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pixel-caffeine_e2ce0c.svg)
 * [Pixel Caffeine](https://wordpress.org/plugins/pixel-caffeine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pixel-caffeine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pixel-caffeine/)
 * [Active Topics](https://wordpress.org/support/plugin/pixel-caffeine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pixel-caffeine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pixel-caffeine/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Antonino Scarfì](https://wordpress.org/support/users/antoscarface/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/product-catalog-error/#post-10246017)
 * Status: not resolved