› Forums › NextScripts API Forums – Google+, Pinterest, LinkedIn, etc.. › Custom fields
- This topic has 5 replies, 1 voice, and was last updated 9 years, 10 months ago by NextScripts.com.
- AuthorPosts
- January 29, 2015 at 6:15 am #370648LuigiParticipant
Hi, I use SNAP plugin to publish on FB and twitter a new status update everytime a new woocommerce product haa been added to my store. Everything works OK but at the moment I can set %TITLE% %URL% but I’d like also to add PRICE of the product, is there a way to do it? would %PRICE% work?
Thanks for your helpJanuary 29, 2015 at 4:46 pm #370778Please see here: https://www.nextscripts.com/snap-features/message-formatting-tags/
You need to use %CF-CustomFieldName%
February 4, 2015 at 9:23 am #373603LuigiParticipantGreat, it works perfectly!
can I also post product attributes?
I’ve tried %PA-attributename% but it doesn’t worksThanks Luigi
February 4, 2015 at 12:14 pm #373661What is “product attributes”? I don’t think WordPress has something that called like this.
February 4, 2015 at 2:28 pm #373706LuigiParticipantin woocommerce you can set attributes for each product, for instance you can have size, color…
February 4, 2015 at 3:12 pm #3737161. It’s not a Woordpress functionality.
2. It’s not a separate object. Woocommerce attributes are stored as serialized array in the custom field called _product_attributes.
- AuthorPosts
- You must be logged in to reply to this topic.