Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Model # Length


Guest

Recommended Posts

Posted

Using OCS 2.2 RCI. I have a handfull of product models number that exceeds 12 Characters. It appears that anytime I enter in a new product with a Product Model # in excess of 12 characters, it will only record the first 12. I have not seen an option in the Admin Panel. Is it Pre-Set and unchangeable?

Posted

It is limited by default from the "products_model" column in the products table in your database.

 

You can edit this maximum in phpMyAdmin or similar.

 

I don't recall there being any trimming done by the code, it is simply limited by the table.

 

I thought it was limited to 25 by default, but maybe yours is different.

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Posted
It is limited by default from the "products_model" column in the products table in your database.

 

You can edit this maximum in phpMyAdmin or similar.

 

I don't recall there being any trimming done by the code, it is simply limited by the table.

 

I thought it was limited to 25 by default, but maybe yours is different.

 

Rob

 

Thanks Rob. That was enough info to locate and change it with PHPAdmin. It was set to 12 but not anymore!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...