osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Updating Database

This is a discussion on Updating Database within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Updating Database To update my database I use easy populate. But in table easy populate creates there is no variable ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-08-2003, 05:38 PM
New Member
 
Join Date: Jan 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
acemang
Default Updating Database

Updating Database
To update my database I use easy populate.
But in table easy populate creates there is no variable for the medium image and I need this.
Im missing something here? Can I put that variable in easy populate? If yes, How?

Acemang.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-11-2003, 01:02 AM
Member
 
Join Date: Dec 2002
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doug
Default

I would suggest contacting the developer who wrote the Easy populate contrib for assistance.

For the record I simply use Excel and save as csv and use that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-11-2003, 09:45 PM
New Member
 
Join Date: Jan 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
acemang
Default

Can you teach me how do you use the csv?

Thanks for Help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-13-2003, 02:03 AM
Member
 
Join Date: Dec 2002
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doug
Default

I mean <filename>.csv not CVS (concurrent version system) used by many open source development teams including osC.

With .csv it is simply a comma separated value file you can save them from excel by changing the format when saving...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-26-2003, 08:54 AM
Member
 
Join Date: Jan 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Petter
Default Alter table...

Acemang,

There is a contribution called 'Mo Pics Modification v1.1 for OsCommerce 2.2'

The contrib is accompanied by a text-file with instructiones for changing the structure of the table, here's a part of this file:
+==========+
// Each of these lines go into the MySQL Database. You must add them one at a time using PHPMyAdmin

ALTER TABLE `catalog`.`products` ADD `products_subimage1` VARCHAR(64) AFTER `products_bimage`
ALTER TABLE `catalog`.`products` ADD `products_bsubimage1` VARCHAR(64) AFTER `products_subimage1`
ALTER TABLE `catalog`.`products` ADD `products_subimage2` VARCHAR(64) AFTER `products_bsubimage1`
etc...
+==========+

I love this instruction, as the 'standard' instructions usually says:
+==========+
drop table if exists *****;
create table ***** (
etc...
+==========+

...which really s***s if there are values inside this table...

Now, you should be able to put together a SQL-query based on the above code (far above mind you) to change your DB.

Hope you figure it out, good luck!

PS! Backup, backup and backup!
__________________
Petter - Arktisk Pudder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Date Available Not Updating seandon01 osCMax v2 Features Discussion 0 10-06-2006 02:24 AM
Problem updating currencies rashunda osCommerce 2.2 Installation Help 0 08-03-2005 11:10 PM
Second Language Not Updating makemethis osCMax v1.7 Discussion 0 07-08-2004 11:40 AM
updating product descriptions??? Eulando osCMax v1.7 Installation 1 06-29-2004 07:46 AM
Admin Section not updating changes cheaptrk osCommerce 2.2 Installation Help 0 05-15-2003 11:37 AM


All times are GMT -8. The time now is 09:31 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax