General Support for technical Issues relating to AlegroCart
-
Bluesplayer
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Post
by Bluesplayer » Tue Jan 22, 2013 2:43 pm
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
-
leo
- admin
- Posts: 4320
- Joined: Sun Dec 13, 2009 8:27 am
- Location: Hungary
Post
by leo » Wed Jan 23, 2013 1:12 am
I have fixed the tax class issue. The problem was with the template file. Test it.
-
Attachments
-
- tax_class_fix.zip
- (6.51 KiB) Downloaded 330 times
-
Bluesplayer
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Post
by Bluesplayer » Wed Jan 23, 2013 2:51 am
Yup. Looks like the fix has worked
.
Just the bar codes now lol.
I am keeping you guys busy...
-
leo
- admin
- Posts: 4320
- Joined: Sun Dec 13, 2009 8:27 am
- Location: Hungary
Post
by leo » Wed Jan 23, 2013 4:31 am
Unfortunately I cannot repeat this error. Here works everything fine.
Which encoding do you use?
-
Bluesplayer
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Post
by Bluesplayer » Wed Jan 23, 2013 4:52 am
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.
-
Bluesplayer
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Post
by Bluesplayer » Wed Jan 23, 2013 5:21 am
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.
Last edited by
Bluesplayer on Wed Jan 23, 2013 5:28 am, edited 1 time in total.
-
leo
- admin
- Posts: 4320
- Joined: Sun Dec 13, 2009 8:27 am
- Location: Hungary
Post
by leo » Wed Jan 23, 2013 5:23 am
Delete the spaces from the number and it will work. The field must turn into green if everything is OK.
-
Bluesplayer
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Post
by Bluesplayer » Wed Jan 23, 2013 5:29 am
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.