Home › Forums › WC Vendors Pro Support › Request: Publicize through Jetpack Plug In
NOTICE: We've Moved to a Ticket System for Support
As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system. This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.
For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.
If you are a WC Vendors Pro customer please open a support ticket here. If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.
The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.
Thank you to all of our customers!
- This topic has 22 replies, 3 voices, and was last updated 7 years, 8 months ago by Karen Thomas.
-
AuthorPosts
-
October 10, 2015 at 4:38 pm #10504Karen ThomasParticipant
Hiya Ben and Jamie,
I use the Publicize function within the Jetpack Plug In.
This allows me to automatically create a Tweet (or post to other social networks) each time I publish a product – pretty neat!
It automatically pops the Product Title in the Message and allows me to amend it:
Will I still have the same functionality or is that on the To Do list?
Many thanks,
Karen
October 10, 2015 at 5:58 pm #10507WC Vendors SupportParticipantSure. I can do that for you.
…..fiddles on the keyboard a while………..
Here ya go!
October 10, 2015 at 7:52 pm #10512Karen ThomasParticipantWow very impressed! I sooo wish I was as clever!
So added it to my functions.php file
Added a product as a vendor in new dashboard, which was totally fab! 😀
But it didn’t give me the option to Publicize a tweet unfortunately
So I went into my wp-admin to amend the product so I could add the postage (Pre Product Shipping)
However it looked like it had already been published (but that’s a known mistake I think u said)
So after adding postage costs I clicked ‘Update’ button, but nothing happened and it wasn’t saved.So I’ve got a product with no shipping costs and no tweet.
Any ideas?
Thanks,
Karen
October 10, 2015 at 8:09 pm #10513WC Vendors SupportParticipantBeats me! 🙂 The Publicize code you see there I found on the Internet when I needed it for another site a year ago that auto tweets their products. It still works, that’s all I know! 🙂
October 10, 2015 at 8:24 pm #10514Karen ThomasParticipantVery odd.
I’ve deleted it for now in case it was preventing me from editing products.It still won’t let me save any edits eg postage costs so I’ll raise a separate ticket.
Ta
March 22, 2016 at 6:35 am #27545Karen ThomasParticipantHi Ben and @DigitalChild
I retried the code you gave me in the hope it would now work, but sadly no 🙁
It’ve set up Jetpack so that every new product I publish in wp-admin gets automatically posted on Facebook and Twitter.
I’m desperate to start allowing some trusted vendors to publish their own products but when publishing from the Vendor product form, jetpack doesn’t work 🙁
I contacted Jetpack and they sent me to this forum topic lol! 😀
Can you guys help?
Thank you very mucho!
Karen
March 22, 2016 at 9:56 am #27559WC Vendors SupportParticipantI really don’t know. If Jetpack is doing its job right it should fire the publicize upon post of the product. They will have to provide you with a hook for it to fire it manually, if they can provide that, we can look at a snippet for you to make it work.
March 22, 2016 at 8:19 pm #27642Karen ThomasParticipantThanks a million Ben, I’m trying my bestest to get suggestions from Jetpack first so hopefully don’t need to shout ‘HELP’ 🙂
Will post here if I get a solution in case others need help
March 24, 2016 at 3:54 pm #27953Karen ThomasParticipantHi Ben,
Jetpack have suggested various things:
1. Asking me to reconnect to social networks to ensure I have shared permissions to be used by all members
2. Using User Role Editor plug in to add capabilities to Vendors to publish postsNone worked :'(
They’ve run out of suggestions and have said ‘if the user role is setup properly, then this should work just fine. Could you find out more from the plugin developer about this user role, and if they have any idea what might be wrong?’
Sorry! Any idea?
Thanks very much,
Karen
March 24, 2016 at 9:39 pm #27973WC Vendors SupportParticipantI think I have an idea. It’s PROBABLY (note probably is in caps, because I am uncertain) that Jetpack hooks into an action in wp-admin that works when you click the Publish button. WC Vendors Pro doesnt really actually “publish” a product, it simply inserts it into the database, and as such, shows up on your site. If JetPack can provide you with an action that would fire the publicize for a particular post ID #, then we can get that installed on your site and working correctly. If they can not, you’re screwed. 🙂
March 24, 2016 at 9:52 pm #27978Karen ThomasParticipantThank u Ben! I think that might help!
Sent your reply to Jetpack and I’ll hopefully have a happy answer tomorrow 🙂(If not i’m screwed!)
March 25, 2016 at 10:20 am #28009Karen ThomasParticipantHi Ben – not good news :'(
Response from jetpack:
‘That would indeed cause issues 🙂 Unfortunately we don’t have a hook that fires when a new post ID is created, it only fires on Publish as he mentions. At this point we don’t have any plans to update or change that since the vast majority of Publicize’s use cases are on Publish. I apologize for the back and forth, and that we don’t have any other options at this point :(‘Is this something I can pay you guys to sort? – so maybe on my website it doesn’t just appear in the database it ‘publishes’ it. Otherwise I’m going to be stuck publishing products forever. I’ve over 80 Crafties waiting to join and I just can’t grow the site as I can’t cope with reviewing every product on the site whilst running and growing the community. Part of what they sign up for is sharing every product on social media and it’s impossible to do this manually with so many products.
Help!
Many thanks,
Karen
March 25, 2016 at 10:23 am #28010WC Vendors SupportParticipantWe cant force Jetpack to change how it works, if they have no hook for that, we’re screwed. You might, instead, look for a different plugin that allows you to share a product socially whenever you like. And then you can share a batch of them all at once with a few clicks. Not sure if a plugin like that exists, but I cant see why one wouldn’t.
If you threw money at us we’d still not be able to fix Jetpack. We’d get drunk, and be happy, but you wouldn’t get anything in return. 🙂
March 25, 2016 at 12:06 pm #28025Karen ThomasParticipantTe he Ben you do make me smile! 😀
I’ll go hunting now 🙂 x
May 6, 2016 at 3:58 pm #31721alexstanhopeParticipantHi all,
In the absence of Jetpack being able to “publicize” new vendor-created products, there might be a deliciously simple solution to all this for the time being!
I might suggest using the really rather lovely ifttt.com (a.k.a If This Then That) to automate the whole thing.
What you’d need to do once registered there is create a new “Recipe” to take WooCommerce’s inbuilt RSS feed for products and then publish any new items to social networks of your choice.
The “formula” for the product feed is: yoursite.com/feed/?post_type=product
Hope that might help!
May 6, 2016 at 6:17 pm #31734WC Vendors SupportParticipantifttt.com would be a fantastic solution and probably quite simple to setup, too. We use it to tell us about new support tickets on wordpress.org in fact. 🙂 (Why they dont tell the plugin author we have a new support topic is wildly crazy stupid IMHO! :)) It works well, with about a half hour delay on it give or take, and that’s acceptable to us.
May 7, 2016 at 5:25 am #31753Karen ThomasParticipantThank you so very much for jumping in to help @alexstanhope! 🙂
I think I’ve done it right!
Created a RSS recipe using yoursite.com/feed/?post_type=product and connected to one of our facebook pages
Then set action as a Link Post
With the text ‘New Product added to Conscious Crafties’Will that post the new product published or will it add the link to the rss feed do you know? As I’m pretty sure no potential customers will click a RSS feed link.
What we have now with Jetpack is the link to the item which displays the image of the new product.So trying to replicate that if possible, so that when Vendors are able to publish their own products, it still updates our facebook page with a new product.
Thanks for all your help 🙂
Karen
May 7, 2016 at 5:38 am #31755alexstanhopeParticipantHi Karen,
I reckon IFTTT should definitely work as you’d like it to, but there are a couple of minor gotchas (ain’t that always the case!):
1: With the “Recipe” you created, the “yoursite.com” bit needs to be replaced with your site’s actual domain name – I’m sure you probably realised that anyway, but just wanted to double-check!
2: If you’ve not already installed it on your site, I’d recommend adding the Yoast SEO Plug-in; what you can then do is create a “template” for WooCommerce products under Titles & Metas > Post Types. I’d start by putting something similar to the following in the “Meta description template:” box underneath “Products”: %%title%% for sale on Conscious Crafties.
Effectively, what that’d do is take the product title as added by the vendor, and insert it into the relevant page’s Meta description. The good news here is that Facebook will pick this up (and the Featured Image if added) and then add it to the link that is posted through IFTTT, resulting in the type of thing you’re looking for!
Also, I wouldn’t worry too much about “RSS Links” – visitors to your Facebook page will never see this; all they’ll get is the link to the product page on your site!
Hope that makes some kind of sense!
Alex
May 7, 2016 at 8:24 am #31760Karen ThomasParticipantYou are a star!!! I’ve just allowed a vendor to ‘publish’ their own product and it published a few minutes later adding the link and featured image!!!!
So happy thank you! 🙂
I’ve also connected to Twitter so any new products are tweeted too! Woo Hoo! What an amazing tool this is – thank you for introducing me to it – I might actually get myself organised!
I do have Yoast and I currently have this set up for products:
Unfortunately the %%excerpt%% within the description stopped working following a Yoast update. I have contacted Yoast and posted on their forum but they only seem to offer support for bugs if you buy their paid version. The forums are full of everyone asking the same thing and they never respond :-/
I have to add SEO manually these days. Is there anything you know I could add in the Description that would pull in relevant text from the product description? Sorry to ask when you’ve already been so helpful to me.
Karen
May 7, 2016 at 10:21 am #31765alexstanhopeParticipantAhhhh …
What a shame about the Excerpt variable not working …hopefully the folk over at Yoast fix it soon 🙁
In the meantime, the only (really hacky) things I could think of were either creating a custom field, populating it with the Excerpt and then using the %%cf_<custom-field-name>%% Yoast variable instead, or alternatively, writing your own custom RSS Feed. I’ve done this in the past for Custom Post Types that needed “special handling” when being auto-posted to social networks through services like IFTTT and dlvr.it – can give you some code as a starting point if you liked?
May 7, 2016 at 11:35 am #31770WC Vendors SupportParticipantGreat work, great solution. Thanks both of you. 🙂
May 7, 2016 at 1:31 pm #31782Karen ThomasParticipantAwe thanks so much @alexstanhope but you’ve already helped me more than enough! I’m thrilled my vendors can publish their own products without missing out on social sharing that I’d previously set up through Publicize!
Thanks for all your help!
And yes Ben what a fab solution 😀 yippee!
July 17, 2016 at 11:30 am #37407Karen ThomasParticipantHi Alex,
Hope you’re having a good day.
Wondered it you could help… my vendors want to use their own IFTTT account to post JUST THEIR PRODUCTS to their own Facebook pages. Do you think that’s possible?….
Many thanks,
Karen
-
AuthorPosts
- The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.