Questions Regarding Function
Permalink Browser Info Environment
I spoke to my client today who is wanting to tie his backend system to C5 through the eCommerce addon. We have been using your import module up to this point to bring in some products for a single section, now they want to put their entire catalog of products on. So they had some questions.
1. Can you import images directly from the XML file in hex (I think, text based) format?
2. Is there a way to program a means to import a single file and have the products go to the proper sections of the website without breaking it up into pieces and importing the files separately?
3. Is there a way to automate the import function so that it uses a CRON or similar type script to automatically run?
I understand this may require additional programming, we are trying to ascertain whether it's worth the investment. I understand the upcoming version of C5 is going to maybe be able to make this process easier, but I wanted to see what we can do now. Thanks!
1. Can you import images directly from the XML file in hex (I think, text based) format?
2. Is there a way to program a means to import a single file and have the products go to the proper sections of the website without breaking it up into pieces and importing the files separately?
3. Is there a way to automate the import function so that it uses a CRON or similar type script to automatically run?
I understand this may require additional programming, we are trying to ascertain whether it's worth the investment. I understand the upcoming version of C5 is going to maybe be able to make this process easier, but I wanted to see what we can do now. Thanks!
Type: | Pre-Sale |
---|---|
Status: | In Progress |
Thanks! Hope all is well with you. Can you elaborate a little more on how a helper class would work? Would you be willing to discuss a custom job that would take data from a Sage 500 ERP system using SQL and importing to C5 either through eCommerce or directly into the MySQL backend?
The way I have implemented automated import in the past was to write a c5 job that loaded and called the Import helper class. Usually, there are settings that need to be recorded, so I've implemented the job as part of a c5 package and a dashboard page for the settings. I've also done all of this as a standalone script. My advice would be to have someone implement a c5 package with a job that you can use via cron to automate the import. Setting up this part of work isn't difficult. Usually it's the rest of the work that's more difficult (integrating with a 3rd party, manipulating the product data, etc.).
Several years I go I implemented one of these automated imports with SAGE, but in that case we used XML that was exported from SAGE. I don't recall the details any more.
I don't know that I personally would be able to help out with such a project. My schedule is quite full this summer.
Several years I go I implemented one of these automated imports with SAGE, but in that case we used XML that was exported from SAGE. I don't recall the details any more.
I don't know that I personally would be able to help out with such a project. My schedule is quite full this summer.
Followup if I may. We are still pursuing this feature/function and I had a question about the import function. In order to place new product pages under the correct product main category page, you have to specify which page in the dialog. Is it at all possible to import a bulk file that adds pages to several different locations, or do they need to be individual imports?
The Import user interface does require that all products imported in a batch be imported under the same parent page.
Thanks so much for your prompt replies! Just double checking whether you'd be interested in building such as package as you did before for us. Didn't know if you were still busy. My client is using Sage 500 ERP v.7.40.2 for their products and it would be a hoot if your existing solution, even with some edits, would work for us. I am double checking with them to verify. In either case, thanks for your consideration.
I am quite busy right now. I don't think I'd be able to do anything in the near future. Let me know if you need help, though. Perhaps we could work something out.
Thanks, Todd
Thanks, Todd
Answers to your questions:
1) No, there is no provision for importing images directly from the XML. The only method supported is by filename. Note that the filename can be an URL, however.
2) There's no support for a parameter that defines the parent page under which to import products. The only provision is to import all of the products in one batch into the same location. See answer #3, though, for possible solution though...
3) I have been hired in the past to automate the import of products. I've done this quite a few times. I've never tried to build this kind of functionality into Import, though, because the details of how the automation worked were always quite different (i.e. where the XML data came from - or sometimes not XML some other format that needed to be converted; different protocols fro retrieving the data; different schedules; etc.). There are always a lot of little details that made this difficult to do generically. What I did do several years ago, though, was move the import functionality into a helper class. This makes it easier to create a script (or cron job) that can be used to import products.