Get post custom values – connect2mage plugin
-
Hi everyone! I’m trying to use the connect2MAGE plugin to connect my WordPress blog with a Magento database. I have it all installed but I’m confused about the custom field aspect of it.
On their site they say “Below is a little example of using $MAGEDB to connect to Magento database and retrieve some products by reading id’s from custom field of some post inside your WordPress.“
And in the code:`
$entityIds = get_post_custom_values(get_option(‘connect2MAGE_CustomFieldName’));`I know I’m supposed to do something with the posts’ custom fields but I’m not sure what. Anyone have an idea?
Thanks so much!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get post custom values – connect2mage plugin’ is closed to new replies.