Tuesday, February 7, 2012

Prestashop, Magento and Virtuemart barcode scanner (and much ...

Catégorie : Informatique - Publié le Mardi, 07 Février 2012 12:52

Prestashop magento virtuemart barcode scannerHelloscan is an iPhone and Android application wich can be used like a barcode scanner for ecommerce websites.

 If you have an e-commerce business you don’t have to buy all the expensive scanning stuff (hardware and software) to manage your supply chain. You can instead simply buy the Helloscan app and configure it to work with your business.

This is how Helloscan works :

Helloscan working scheme

  • You scan a code (barcode or QR Code)
  • Helloscan send the code to a script on your Internet server
  • Helloscan display the result of the script

Yes it is that simple !

Helloscan comes with plugins for well known e-commerce Open source system : Prestashop, Virtue-mart or Magento. You can check on the website of Helloscan to get the code of theses plugins. You will be able to manage your product with the Helloscan barcode scanner.

You can easily manage stock by scanning barcodes on yout product !

But if you have knowledge in server programming (Php, Perl, mysql, etc.) you can also develop a custom module to work with the app.

As an example, we gonna make a simple php script wich return a name and the code you just scan. This is not a real application but just piece of code so you can see how the thing is working.

First the script :

PHP script for helloscan
The script read the code and return it with other informations. For now it is pretty useless but you can add anything you want.

The PHP script needs to be an server, so open your favorite FTP client and send the file on your website.

You need to configure Helloscan now : I simply put the screen for the iPhone version here. If you use the Android version (I don’t have it) I put a video bellow de screens :

First configure the button

You need to configure un button. To access this screen click on the (i) button in the upper right corner on the default screen of Helloscan.

Then you must chose a label, if the button will scan a code (YES), the URL of the script and un color :

Configure a button 

Please note that you must add ?code=[id] (or ?code=<id> ) at the end of your script url to pass the barcode.

Move back to the first screen to see the new button created : 

Button sucssefully created

Video for Android version of Helloscan :


Now that Helloscan is configured on your smartphone you can scan a code an see the result ! Warning : you need an internet data connection on your smartphone to access your server.

Feel free to modify the code so it fits your needs.

Helloscan is a really inexpensive and clever tool. Even if you don’t have an e-commerce website there is a lot of stuff you can do with it. For example, there is a french tutorial to access SEOmoz API with your smartphone (crazy stuff don’t you think ?).

Links :

0 comments:

Post a Comment