VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Doggiefield on December 17, 2014, 14:27:57 PM

Title: GTIN - Barcode as an available search field
Post by: Doggiefield on December 17, 2014, 14:27:57 PM
Is it possible to make the GTIN field searchable in the backend of Virtuemart?
I would like to use a barcode scanner to search for products in the backend of Virtuemart.

If I go to Configuration -> Configuration -> tab "Product order settings" there is no option to select GTIN.

I hope someone can help me.
Title: Re: GTIN - Barcode as an available search field
Post by: likrish on January 29, 2015, 20:18:11 PM
It is certainly possible...

We have made many minor modifications (and some quite major) to facilitate additional search criteria.

The only down side is that you need to reapply the modifications after updating as these are core hacks.

Let us know if you still require this...
Title: Re: GTIN - Barcode as an available search field
Post by: GJC Web Design on January 29, 2015, 21:51:55 PM
the changes need to be done in the product model search queries
Title: Re: GTIN - Barcode as an available search field
Post by: Doggiefield on January 30, 2015, 16:50:13 PM
Hi Dean,

Since most of our customers like to work with a barcode scanner in their Point of Sale (POS) we got this question from one of our customers.
I will send you an email.

Thanks,
Title: Re: GTIN - Barcode as an available search field
Post by: likrish on January 30, 2015, 21:11:07 PM
I found an interesting article and example code in (js) that could be implemented as a plugin.

http://www.deadosaurus.com/detect-a-usb-barcode-scanner-with-javascript/

Title: Re: GTIN - Barcode as an available search field
Post by: Milbo on February 01, 2015, 16:39:31 PM
Quote from: Datalynk on January 29, 2015, 20:18:11 PM
The only down side is that you need to reapply the modifications after updating as these are core hacks.

Or you donate the code.
Title: Re: GTIN - Barcode as an available search field
Post by: Kintaro Oe on April 29, 2015, 17:27:22 PM
Quote from: Datalynk on January 29, 2015, 20:18:11 PM
It is certainly possible...

We have made many minor modifications (and some quite major) to facilitate additional search criteria.

The only down side is that you need to reapply the modifications after updating as these are core hacks.

Let us know if you still require this...

would you like to share the code?  :-*