I am trying to sync my Woocommerce products with Facebook catalog.

I get this error message, related to the microdata properties:

"Products without "id" information can't be uploaded. Please check that this field is included for each product in a separate, labeled column."

How can I add the ID microdata in my Woocommerce product pages?

I've tried to insert the following properties:

<meta property="og:id" content="<?php echo $post->ID; ?>"/>
<meta property="id" content="<?php echo $post->ID; ?>"/>

But this property wasn't detected, probably because it's not a valid property.

How can I implement the ID in my pages? The above codes didn't work.

Here's a picture of a guy that I've found that made it work, but I don't know how and he won't tell.


0 Answers