AM
Asked
I have 2 types of products
1. Scale barcode like 2100852002653 as firs 7 digits as product code and second 6 digits the weight for by kg products
2. Normal items like 8690632047935 as 13 digits as product code for by pc product
By kg products are working but by pc products not working
1. Scale barcode like 2100852002653 as firs 7 digits as product code and second 6 digits the weight for by kg products
2. Normal items like 8690632047935 as 13 digits as product code for by pc product
By kg products are working but by pc products not working
- MSAnsweredHello,
Do you get any error? Did you check the server error logs, if errors are logged?
**How the scale barcode will be parsed?**
```txt
1. by checking the barcode length is equal to the total chars for scale barcode in settings
2. If yes then only move forward otherwise return the code as it is
3. For yes, parse the barcode and get item code and quantity/price as per settings.
4. Find the product for the item code and set the quantity/price and return
```
If you see the live demo, there are 2 products with code `111111` and `222222` 6 chars and `F11111100250C` and `F22222200150C` will be parse with default settings as following
```
F 111111 00150/100 C
F 222222 00250/100 C
X item code quantity X
```
System will check try to parse the barcode as scale if the length is same for both. If there is any product with parsed code then it will add that otherwise it will look for item will full code.
If you still have any issue, please let me know. I will try to check it tomorrow.
Thank you - AMAnsweredDear Mian
thanks for your reply, but the issue as per my attachment the item with 13 digits not coming directly from the barcode only the items with 7 digits
now with the attached settings the weight items (7 digits item code and 6 digits weight) the items scanning directly but for the other items (13 digits item code) the items not scanning directly and there a dropdown list with all products with the same first 7 digits and the item actually must come directly
thanksAttachments - MSAnsweredHello,
You are getting suggestions as the parsed code is finding few products. It's not passing for the next step to search as whole.
Let me check this on Monday. I will improve this.
Thank you - AMAnsweredI'm still waiting
- MSAnsweredHello,
I am still working. Update will be release by the end of this week.
Thank you - MSAnsweredHello,
I have updated the demo. Can you please help me test this on demo?
Thank you - AMAnsweredHello, I try the demo and it's working good
how can I download and setup the updates
thanks so muchch - MSAnsweredHello,
The update will be released later today.
Thank you - AMAnsweredhow can I set up the updates?
- MSAnsweredHello,
Please follow the update instructions in the documentation.pdf file.
If you only want to fox this issue, then `app/libraries/Sma.php` can be replaced with latest.
Thank you - Login to Reply