If you already use the Publicize option of Jetpack by WordPress.com with your WordPress, you are sure to miss the possibility of using the potential of Publicize on WooCommerce products; that is, that when you publish a new product in your online shop, it is automatically published on the pages and profiles you have configured in Publicize: Facebook, Twitter, Google+, LinkedIn, Tumblr and/or Path.
Well then, thanks to a small piece of PHP code you will be able to add the Publicize option to WooCommerce. To do so you must include the following PHP code in the functions.php file of your child theme:
At APG we use this code in the current WooCommerce 2.2 and it works perfectly, just as it does in earlier versions, so you should have no doubt at all about compatibility with your version of WooCommerce.
We hope this small piece of code helps you share your new products on your social profiles more easily.
Related posts
Comments




