Page 1 of 1

A few issues - Bar Codes and Tax

Posted: Tue Jan 22, 2013 2:43 pm
by Bluesplayer
Hi

I run a check on the database today to check on everything and I noticed that the products: bar codes was empty. I noticed whenever I took a look again at a product in admin that bar codes box was always empty even though I had entered the data. By the looks of it the form is failing to send the data to the database with regard to the bar codes.

Another problem I notice is with the Tax Class which always appears ON even though I have set it to off on the products. On checking the database indeed the tax class was on again in nearly all products. I ran a database query to make sure they were all set to 0:

Code: Select all

update `product` set tax_class_id = '0' where tax_class_id like '%%' 
Regards

Re: A few issues - Bar Codes and Tax

Posted: Wed Jan 23, 2013 1:12 am
by leo
I have fixed the tax class issue. The problem was with the template file. Test it.

Re: A few issues - Bar Codes and Tax

Posted: Wed Jan 23, 2013 2:51 am
by Bluesplayer
Yup. Looks like the fix has worked :) .

Just the bar codes now lol.

I am keeping you guys busy...

Re: A few issues - Bar Codes and Tax

Posted: Wed Jan 23, 2013 4:31 am
by leo
Unfortunately I cannot repeat this error. Here works everything fine.
Which encoding do you use?

Re: A few issues - Bar Codes and Tax

Posted: Wed Jan 23, 2013 4:52 am
by Bluesplayer
Tried it all ways but no data is entering the database.

These are the type of numbers I am using: 5 013478 120908

Tried it with both UPC and the other one. Also altered the default setting too but no joy.

Re: A few issues - Bar Codes and Tax

Posted: Wed Jan 23, 2013 5:21 am
by Bluesplayer
I have it working now. The problem is with the spaces.

doesn't work = 5 013478 120908

works = 5013478120908

The above works with the EAN setting.

Oops my fault but the top number is how the supplier sends the code to me.

Re: A few issues - Bar Codes and Tax

Posted: Wed Jan 23, 2013 5:23 am
by leo
Delete the spaces from the number and it will work. The field must turn into green if everything is OK.

Re: A few issues - Bar Codes and Tax

Posted: Wed Jan 23, 2013 5:29 am
by Bluesplayer
leo wrote:Delete the spaces from the number and it will work. The field must turn into green if everything is OK.
Yeah. Have it working now.

Sorry for the confusion.