› Forums › NextScripts API Forums – Google+, Pinterest, LinkedIn, etc.. › Custom fields
- 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 #370778
Please see here: https://www.nextscripts.com/snap-features/message-formatting-tags/
You need to use %CF-CustomFieldName%February 4, 2015 at 9:23 am #373603LuigiParticipant
Great, it works perfectly!
can I also post product attributes?
I’ve tried %PA-attributename% but it doesn’t works
Thanks LuigiFebruary 4, 2015 at 12:14 pm #373661
What is “product attributes”? I don’t think WordPress has something that called like this.February 4, 2015 at 2:28 pm #373706LuigiParticipant
in woocommerce you can set attributes for each product, for instance you can have size, color…February 4, 2015 at 3:12 pm #373716
1. 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.
- You must be logged in to reply to this topic.