Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

easy populate - products_model


fishy

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.

Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...