Product with options?
-
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Product with options?
Hi
There seems to be an issue with one screen when adding options to products. When you select 'Product with Options' and attempt to edit the settings it will not accept the bar code (does accept same bar code on product - option setting) neither is it remembering the dimension setting. You have to edit the settings on this page to add the image to the product.
Regards
There seems to be an issue with one screen when adding options to products. When you select 'Product with Options' and attempt to edit the settings it will not accept the bar code (does accept same bar code on product - option setting) neither is it remembering the dimension setting. You have to edit the settings on this page to add the image to the product.
Regards
Re: Product with options?
I cannot reproduce this error. Try to re-upload your admin files. May be one of them is corrupt.
Please check your database as well. May be the barcode and dimensions are saved but they are not visible when you go back, i.e. it is about a template issue .
Please check your database as well. May be the barcode and dimensions are saved but they are not visible when you go back, i.e. it is about a template issue .
-
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Re: Product with options?
Yes it does appear to be a template issue but aren't the admin templates the same?leo wrote:I cannot reproduce this error. Try to re-upload your admin files. May be one of them is corrupt.
Please check your database as well. May be the barcode and dimensions are saved but they are not visible when you go back, i.e. it is about a template issue .
This is the screen that won't accept the barcode:
Same barcode that is being accepted on this screen:
I was mistaken about the rest of the problems as it does appear to remember settings. It just won't accept the barcode.
Re: Product with options?
85048000013 is only 11 digits. So, either 1 is missing or it is UPC encoding.
-
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Re: Product with options?
Yeah you are right, but it you look at the 2nd image the 13 digits are there. I can see what is happening now though. As I just copy and paste the barcode as it is sent to me into the box it is being cut off at 11 digits because I am pasting it with 2 spaces which are being counted as digits. The box is removing the last 2 digits which the other pages are not doing - see 2nd image. When I remove the 2 spaces it is reducing the digit numbers to 11 hence the failure. I will look into it a bit to see why the box is acting differently to the other but at least I can now see what is happening.leo wrote:85048000013 is only 11 digits. So, either 1 is missing or it is UPC encoding.
Cheers
-
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Re: Product with options?
Thanks for pointing me in the right direction. Fixed it now. All I had to do was make the the barcodefield found in product_with_options.tpl 2 digits longer: maxlength="15" instead of maxlength="13". This will allow me to add the barcodes with the spaces before editing them which is a lot quicker for me.
Re: Product with options?
The other option is if you receive these in something like an excel file, you could strip the spaces from all bar codes in one operation saving you the work from doing it each time when adding to the products in the cart.