?
Solved

Point of Sale Javascript db lookup Question

Posted on 2009-06-30
6
Medium Priority
?
375 Views
Last Modified: 2012-06-27
We are opening a retail store and we already have a online store.  We want to use the same back-end mysql db for our retail store employees.  I don't want them to have to use the add to cart feature our online customers do.  Instead I want to present them with a form and after they have entered the product ID, the system would complete the rest of that form line and tab down to the next line.  This would allow rapid entry of items from the store by just entering the item number on the tag.  I would think this is something javascript could handle.  How would you attack this one?
0
Comment
Question by:stroudtx
  • 4
  • 2
6 Comments
 
LVL 29

Expert Comment

by:Badotz
ID: 24750769
This is not a question, it is an expression of need for application development, and for those kinds of needs you should hire a developer.

We are not paid to do development here at EE -- we are just volunteers who answer questions for points and the occasional T-shirt.

Perhaps Rent-A-Coder or a similar service can help you.

Best of luck with your project.
0
 

Author Comment

by:stroudtx
ID: 24751320
I don't need application development - I built my own site and we do extremely well in our space.

I know HTML, ASP, CSS, etc.  I don't know Javascript that well.  Is this really that complex?

THanks for your suggestion, I'll check it out.
0
 
LVL 29

Accepted Solution

by:
Badotz earned 1500 total points
ID: 24754321
>>I don't need application development - I built my own site and we do extremely well in our space.

To the first part of the above statement, I argue that yes, you do. You will require a new page for data entry, a mechanism on the server for affecting your DB and a means of communication between client and server. That sure sounds like development to me.

To the second part, I say wonderful.


>>I know HTML, ASP, CSS, etc.  I don't know Javascript that well.  Is this really that complex?

To the first part of the above statement I say wonderful. To the final question, I say moderately so, yes.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 

Author Comment

by:stroudtx
ID: 24760447
could something like this work??

<script language="Javascript">
    var states = newArray(
<?
$q = "SELECT Name FROM table";
$r = mysql_query($q);
$i = 0;
$n = mysql_num_rows($r);
while ($row = mysql_fetch_assoc($r) {
    echo '"' . $row['Name'] . '"';
    if ($i != $n - 1) { echo . ",\n"; }
}
);
?>
    new AutoSuggest(document.getElementById('state'),states);
</script>
0
 

Author Comment

by:stroudtx
ID: 24760655
I've searched google and it looks like a new a javascript/ajax solution. I took your advice and but a bid on rent a coder for $100+ and I have no bids yet.  I don't think this is complex for someone who knows how to code it.
0
 

Author Closing Comment

by:stroudtx
ID: 31598555
Question not really answered
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question