• 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ì

    (@antoscarface)

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Product Catalog Error’ is closed to new replies.