Jump to content
Sign in to follow this  
fishy

easy populate - products_model

Recommended Posts

oops, didn't mean to cross post. my issue belong here, sorry.

 

I'm using Easy Populate to upload my products and I'm receiving an error that the products.products_model is varchar(15) and need to increase its size.

 

I've changed products.products_model to varchar(255) and I'm still receiving the error.

 

Apparantly I'm missing something. Any suggestions would be great.

 

best.

Share this post


Link to post
Share on other sites

for what it's worth:

 

the following is defined in easypopulate.php

global $modelsize;

// $modelsize = 15; --> set by default

$modelsize = 255; --> changed it to this.

 

so between adjusting the product.products_model & order_products.products_model to varchar(255) and the above variable initialization/adjustment, all is now well in my easy populate world.

 

thanks to those that created & maintain(ed) this rocking contribution.

 

best.

Share this post


Link to post
Share on other sites

cdr,

 

no doubt. the products table needs to be changed as well as the code in easypopulate.php as mentioned in my earlier post - thanks.

Share this post


Link to post
Share on other sites

fishy,

 

do you have any other fields in your 'products' table. i do and when i exported and then reimported my data, none of my new fields were recognized. sup wit dat? I even changed with global array $default_these to include one of the new fields. Any help would be awesome.

Share this post


Link to post
Share on other sites

th -

 

i don't have any other colums in products so no empirical knowledge to share regarding your prob.

 

i'd be curious to hear your solution though.

 

best,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×