Change Product Model LengthLast Update: 17th August, 2005
Article ID: 30



Introduction

The default 12 character limit for product model strings may be too short for certain needs, and can be easily increased with phpMyAdmin or directly with MySQL.

Solution

Two database tables need to be modified when changing the length of the product model field: osc_products, and osc_orders_products.

Using phpMyAdmin
Using the Graphical Interface


The same steps need to be reproduced for the osc_orders_products table.

Using the SQL Text Tool

Paste the code below for each table into the sql query box in phpMyAdmin changing the number 12 to a new number and click save.

alter table osc_products change products_model products_model varchar(12);

alter table osc_orders_products change products_model products_model varchar(12);

 

 

Trademark Policy | Copyright Policy | Sitemap

Copyright © 2000-2005 osCommerce. All rights reserved.