Quote Originally Posted by balihr View Post
OK, so... Barcodes are in no way part of Zen Cart - it only supports model number. When you installed ZX POS, you got a *new* field that allows you to associate a barcode number with a product.
Next, attributes in Zen Cart don't support quantity control nor having individual model numbers. This means that if you have a tshirt and set attributes to red and blue, you can NOT set different stock levels with the built-in attributes, nor can you set an individual model number. This is where SBA steps in.
Once you install SBA, it will allow you to set stock levels for each attribute and it will allow to use Custom ID (basically, model number per attribute). Again, it does not support barcodes because barcodes were never part of Zen Cart. There are some modifications that need to be applied to the SBA plugin for *it* to be able to accept barcodes, and then those barcodes will be used by ZX POS.
The ZX POS plugin comes with a full version of SBA which you can use to install SBA on your site, and then copy/merge the modified SBA files. The only reason I attached a copy of the SBA plugin is because it's updated quite frequently so the required modifications might become hard to implement.

Now, a simple step-by-step:
1. install ZX POS (you already have it)
2. install SBA found in ZX POS zip file
3. copy the files from "SBA support/files/" to your site
4. copy/paste the contents of the sql-SBA.txt in your admin->Tools->Install SQL Patches

Now when you go to your SBA page in admin, you'll have a barcode field next to Custom ID, which you will be using to add a barcode for your products, and this data will be used by ZX POS frontend.

I hope this makes sense.
Perfect sense. I don't know what I was doing wrong...I tried sba a few times with only partial success, but for some reason repeating those same steps over again it started working right....ahhhhh the wonder of the electron.

Just one confused point-There's a Barcode box on every product creation page in ZC 157b and responsive classic, has been since I started with ZC recently, and actually putting a barcode it there for a single product works flawlessly thru-out the cart functions, gave me the impression there's support for it in ZC 157 or the template. I thought it came with the package, but........Anyway, your statement about barcodes are no way a part of ZC confuses me as to where it came from then. It's quite useful on those single variant prods.