Does anyone have a sample XML file for importing (as per http://www.ubercart.org/docs/user/354/importing_data)? I have no XML experience and figured that the easiest way to get my head around it would be to view a sample file.
many thanks.
|
Ubercart |
|
|
|
||
|
Wed, 09/19/2007 - 00:06
Does anyone have a sample XML file for importing (as per http://www.ubercart.org/docs/user/354/importing_data)? I have no XML experience and figured that the easiest way to get my head around it would be to view a sample file. many thanks.
Re: Sample XML file for import
You can set up some test products with categories, attributes, and such and export them using Übercart. The more complex your products, the more complete the XML will be.
If this helps...
If that doesn't help you enough to create your own XMLs from Ubercart, here's a portion of categories and a few products that got imported for our true equipment parts site.
Re: If this helps...
Why is /store/products/product/manufacturer = 'True'? Also, how did you do the different options for 'extended warranty?"? As attributes? COuld you post a sample that uses attributes?
Another sample
See the documentation regarding the manufacturer field for a product: XPath:/store/products/product/manufacturer As for the sample, here's a snippet of the XML Lyle used to import the True equipment on our site. Lyle, being the Import/Export guy, is really the person to talk to if you have technical questions. All I know is I write the XML and it works good.
Re: Re: If this helps...
"Why is /store/products/product/manufacturer = 'True'?" Because that's the manufacturer's name: http://www.truemfg.com
Re: Sample XML file for import
thanks very much to both of you, very much appreciatd. |
|