Quote Originally Posted by ShopVille View Post
Yes the barcode itself *is* the order number
In that case, the solution hinted at by balihr would be quite feasible, and as stated, probably not as complex as it may first appear.

Alas, it will require custom coding, so the actual difficulty level would very much depend on your own skill level.
As far as I'm aware no one has done anything like this before.

Quote Originally Posted by ShopVille View Post
I implemented this by loading a free barcode font to my server and adding this line to super_shipping_label.php
Code:
<td class="labelorderid"><?php echo $oID; ?></td>

And this to the css
Code:
.labelorderid {
    color:#003D00; /*727272*/
    font-size:40px;
    font-family: 'Code39AzaleaFont';
Very clever. I thought this would have been a lot more difficult/complex.

Anyway, as for what you are now trying to achieve, the first step would be to create an admin page that has a simple text input box whereby you can enter an order number (via keyboard) and echo it back to the screen. You can probably use something like the 'whos online' module as the basis of this (unless balihr provides a better 'starting point' (which I know he has done before).

Next step would be to replace/update the input field with the scanner input, then from there it should be an 'easy' matter of creating the database queries to extract the customers email address, and even eaiser to create the code needed to send the email with the information you wish to send.

In short, there are basically only 4 steps needed - With the most difficult (in my opinion) the initial creation of the admin page to perform the functions.

I wish you well with this project. It looks as though it could be quite useful and not a lot of work - in fact to me it looks like an ideal 'beginners' project. (beginner being a relative term that assumes some prior experience with PHP and SQL).

Cheers
RodG