I will be creating a website using the drop shipper TrademarkCommerce. They currently have a XML inventory feed. How would I go about setting this up so that inventory is kept up to date? Do I need to import all the data first, and then reference by the item number? I am extremely new to Magento and would be interested in finding out how to set this up.
I have looked at that post, but am highly confused.
the XML product feed address is http://www.trademarkcommerce.com/merchants/files/feeds/tminv_feed.xml
With the post you forwarded me to, I have created the Curl.php file according to the example.
The next step refers to a Dataflow.xml file. Is this created by creating the import profile? Can you walk me through how to point the profile to http://www.trademarkcommerce.com/merchants/files/feeds/tminv_feed.xml as the profile is looking in a local directory.
Or, am I creating a Dataflow.xml file as in the example below (which was the next step in the post)?? Where is this file saved to?? This example uses a .csv file and mine would be a .xml file. What changes need to be made??
The process should be essentially the same for actually downloading the file via http.
Then the easiest way is to use the Profiles section (Admin > System > Import/Export > Profiles) to generate the XML to ultimately use to create an advanced profile that will do it all from start to finish.
The only changes to make in the example are the url for the file and the filename you’re saving it as (totally untested so you mileage may vary).
I’m sure there are much more advanced and interactive ways of using XML files that will ultimately come to light in the future.
Keep us posted as to how this is working for you.
Join the Drop Shipping group if you’d like to keep updated and contribute.
No need to create curl.php in the new version. It’s already there.
I just nuke and reinstall when I update since things are going to change so much until there’s a production version. Dunno what would happen if you just copied over.
All that particular feed has is the Product Code and inventory level. Your products have to be already created to use it.
With Trademark Commerce, you can download the initial inventory file and then upload it using an Import Profile (it’s available as either a CSV or XML - either should wrok fine). Then the XML inventory feed can be used to keep inventory levels accurate.
This leaves the issue of what happens when they add new products to their inventory. I’m going to work on that soon hopefully.
I will see how it would affect already implemented API calls to integrate into Varien_Http_Adapter_Curl and post an update.
I can tell you it takes a LOT longer to process. Had to bump my max_execution_time to 240 (mind you it is a 4 meg file). Dunno how that could be improved or if it matters in the long run.
Moshe - 06 December 2007 11:57 AM
Now, are you going to write also parser for the XML you fetch, so it can be imported into catalog?
Correct! That should be the easy part (I hope). I’m doing the Computer Gallery one first so I’ll post more in that thread.