Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Importing .CSV

Original Message
Name: NooK
Date: January 12, 2008 at 18:16:23 Pacific
Subject: Importing .CSV
OS: Windows XP Pro - SP2
CPU/Ram: P4 2.26GHz, 1GB
Model/Manufacturer: ASUS Clone
Comment:
Hey Everyone,
I'm currently trying to setup an online store, my wholesaler provides all their product info via .CSV file. The file from my wholsaler has about 6000 items. I cleaned up the file and have all the products I want to use in my store. Everything uploads correctly. Great, good...Anyhow now how do I update my .CSV without overwriting all the formatting I already did? There is pretty much two coloums I need to change that are always need updating daily: STOCK and PRICE.

I guess all I'm asking is how to take the raw .CSV from wholesaler and compare and replace the price and stock coloums of my EDITED .CSV I've been using excel to edit my csv...


Any Ideas will help

Hope to hear from you all soon....


Report Offensive Message For Removal


Response Number 1
Name: wizard-fred
Date: January 13, 2008 at 02:09:16 Pacific
Subject: Importing .CSV
Reply: (edit)
I would compare the stock numbers in the your price list with the updated price list and if the new price is different update your price. If you data is in a database all you need is an update routine.

Report Offensive Follow Up For Removal

Response Number 2
Name: NooK
Date: January 13, 2008 at 20:20:36 Pacific
Subject: Importing .CSV
Reply: (edit)
Im a beginner, everything is in a .csv file. Do i have to import it to a database for this tow work or can it be done in excel?

Report Offensive Follow Up For Removal

Response Number 3
Name: wizard-fred
Date: January 14, 2008 at 00:15:45 Pacific
Subject: Importing .CSV
Reply: (edit)
How is the data stored in your online store software? I can't think of an easy way to use Excel to update from a csv file directly.



Report Offensive Follow Up For Removal

Response Number 4
Name: NooK
Date: January 14, 2008 at 06:40:55 Pacific
Subject: Importing .CSV
Reply: (edit)
It's stored in a mySQL database. Which all the data is imported via the .csv, the .csv for the card has to be setup a specific way.

I think I may need a script or a program that can search and compare my PARTNUMs and then replace price and stock if the PARTNUM match.

I was thinking this way

A VB Script or any language,

Which allows me to specify my Shopping cart .CSV then specify my updated wholesaler .CSV - The script would then compare wholesaler.csv with Shoppingcart.csv by PARTNUM. If the PARTNUMs match change, then change price and stock field within Shoppingcart.csv with price and stock from wholesaler.csv

Like I said before, any Ideas help we are at the start stage here.


Report Offensive Follow Up For Removal




Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Importing .CSV

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




exessive internet traffic

ZoneAlarm Question. Blocked Connect

Windows Live Messenger Problem

Delete $Uninstall after SP3 updates

help for hp compaq laptop


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC