• Hello,

    I am looking for advice on where to start my project. E.g. what is my best bet to accomplish what I want to do.

    I created myself a little tool where I get certain product data like title, description, image, price etc from an external rss 2.0 feed. The external feed offers a search functionality to get specific data.

    In my tool I have a search field, where I enter a product ID. The tool then returns all the data it has for said product.

    I would like to be able to do this in the back end of WordPress while creating a new product post (/post-new.php?post_type=product, Woocommerce). And I would like the data to automatically populate all the necessary fields (title, tags, media, price etc. ).

    Is what I would like to do realistically possible?

    What functionality of WordPress would I need use to display my tool when posting a new product e.g. (/post-new.php?post_type=product). What hooks, actions filters would I need to look into to accomplish the populating of the new post fields?

    Any pointers would be appreciated.

    • This topic was modified 3 years, 8 months ago by J32. Reason: changed sentence to be more informative
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    It’s possible, but it’ll take more than simply displaying your tool. In fact, if all the appropriate product fields were populated, do you need your tool to display anything? Couldn’t we just look at the data in their expected places on the product edit screen?

    Of course we’d need some sort of dialog box to know what data to fetch. Because you’d be populating fields in the current form, this would all be JavaScript driven. Your script could put up a dialog box once the edit screen loads to get the desired ID from the user. It’d then fetch the data and parse it into the various edit screen form fields.

    Thread Starter J32

    (@j32)

    Thanks bcworkz! That was helpful.

    I was also looking for that.

    Sorry could you tell me please how do you resolved the csv Import Error: Invalid image: Sorry, this file type is not permitted?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Where to start? External Rss feed data into WordPress new post fields’ is closed to new replies.