Zen Cart Logo
Forums / All Other Contributions/Addons / products database structure? How to?

products database structure? How to?

Views: 986

Results 1 to 6 of 6
18 May 2011, 3:07 PM
#1
robertm18 avatar

robertm18

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

products database structure? How to?

Zen Cart 1.3.9h
Easy Populate 1.3.5.4

Having trouble importing a tab delimited text file catalog.

I did one mod to a standard zen cart: ALTER TABLE products ADD products_msrp DECIMAL ( 15, 4 ) NOT NULL AFTER products_price ;

Tried the import with all fields downloaded from easy populate, and also with adding v_products_msrp before v_products_price.

Note: many of my fields contain no data.

Questions:

When creating the text file, must all the fields be represented in the text file, or may one use only the fields that are to be imported?

Is there a way to display the database structure so that I can check that all the fields are represented in my text file?

Is there a way to see where the import is bombing? It looks like I get about half way through the upload of the first record before it crashes. I get 1 record created and a bunch of pipes and data after that, greyed out.

Thanks for any insight anyone can offer! New to both Zen Cart and EP, so thanks for understanding.

Rob

18 May 2011, 3:48 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: products database structure? How to?

EP keeys on the model number so one must have a model number assigned

There is a wiki article on how yo use

18 May 2011, 3:51 PM
#3
robertm18 avatar

robertm18

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

Re: products database structure? How to?

kobra:

EP keeys on the model number so one must have a model number assigned

I have completely clean products database. No products at all.

18 May 2011, 3:52 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: products database structure? How to?

I have completely clean products database. No products at all.
Create a couple so that when you download you will have a structure

See the wiki article

18 May 2011, 3:58 PM
#5
robertm18 avatar

robertm18

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

Re: products database structure? How to?

kobra:

Create a couple so that when you download you will have a structure
Thanks! I will try that. Re-reading the wiki once again.

18 May 2011, 5:19 PM
#6
robertm18 avatar

robertm18

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

Re: products database structure? How to?

Resolved

Two issues. A couple of my field names had a preceeding space and no EOFEOF after each record.

Thanks for your help.