Hi everyone,
At my office we have a webshop which has a section for users to insert discount codes to enable customers to get money off.
Currently users of the back end system can use a simple form to insert all the data and click submit.
Data that needs to be inserted is
Discount Code
Books Per Transaction
No. Of Transactions
% Discount
Start Date (D/M/Y)
End Date (D/M/Y)
Associated Products (This is a list of products and more than one can be selected)
The problem we have come to is that about 300 codes need to be inserted, and 150 of them are unique to one kind of discount, and another 150 is for another discount, but for each of these two different discounts the terms are the same just the codes are different.
What i need help with is that is there a method to enable a user to like import a list of codes from either an excel spreadsheet, or a text file, and that the php will read each line of the text file, and using the settings in the form (which are preset such as books, % discount, Start / End date, and Products) insert all of the different codes.
Any ideas would be great...Sorry to put URGENT on there but this needs to be completed asap for an event.
Thanks very much
Rodent