i went to some ones site recently who complained about this problem and it worked first time i tried it on their site.
you type the name from the your global option and global attribute list. you can not just type anything you want and hope it saves!
you type the name from the your global option and global attribute list. you can not just type anything you want and hope it saves!
OpenCart®
Project Owner & Developer.
Hi Daniel,
It does not work for me. Here is what I did, please let me know if I'm doing something wrong. And FYI I'm using latest Firefox 6.0 on Windows 7 Professional. I also tried Internet Explorer and get the same problem there.
1. Added an option with Option Name "Size" and Type "Select" under Admin->Catalog->Options. To "Size" I then added Option Value Names "Small", "Medium", "Large", "X-Large", etc. Then I saved these changes and verified they were saved OK.
2. Now I go to Catalog->Products, Edit product, select Option tab, and type "Size" in the box. BTW if I press the green button nothing happens. Now I press Save button. It goes back to Products list. I select the product again to edit, look at the Option tab - and nothing is there. And if go view the product in the catalog or add to cart, no Size option is ever displayed.
Any ideas what I can try? This is the latest OC version 1.5.1.2. Everything else works great except for this.
Thanks,
David
It does not work for me. Here is what I did, please let me know if I'm doing something wrong. And FYI I'm using latest Firefox 6.0 on Windows 7 Professional. I also tried Internet Explorer and get the same problem there.
1. Added an option with Option Name "Size" and Type "Select" under Admin->Catalog->Options. To "Size" I then added Option Value Names "Small", "Medium", "Large", "X-Large", etc. Then I saved these changes and verified they were saved OK.
2. Now I go to Catalog->Products, Edit product, select Option tab, and type "Size" in the box. BTW if I press the green button nothing happens. Now I press Save button. It goes back to Products list. I select the product again to edit, look at the Option tab - and nothing is there. And if go view the product in the catalog or add to cart, no Size option is ever displayed.
Any ideas what I can try? This is the latest OC version 1.5.1.2. Everything else works great except for this.
Thanks,
David
1.5.1.2 is not out yet - have you been updating from the SVN ?
---
When editing a product, on the option tab, you start typing 'size', a drop down should appear and allow you to choose 'Size'
Then on the right you need to add each of the sizes that are available for this particular product.
---
When editing a product, on the option tab, you start typing 'size', a drop down should appear and allow you to choose 'Size'
Then on the right you need to add each of the sizes that are available for this particular product.
None of that happens. All I get is the box and nothing on the right and no auto-complete when I start typing.
If I view the source of the page, there is almost nothing in the options tab div:
I looked at the template file and there is way more html that should be coming out. But the above is all that's there. Notice the script tag contains no javascript, and the inner closing </div> is missing. Something is not working, and several others that posted in this thread seem to be reporting the same thing... If someone wants to try my setup let me know and I can email you the url and login.
Thanks,
David
If I view the source of the page, there is almost nothing in the options tab div:
Code: Select all
<div id="tab-option">
<div id="vtab-option" class="vtabs">
<span id="option-add">
<input name="option" value="" style="width: 130px;" />
<img src="view/image/add.png" alt="Add Option" title="Add Option" /></span></div>
<script type="text/javascript"><!--
//--></script>
</div>
Thanks,
David
well, the default files certainly have all the code, so there is no reason why your script tags etc are empty.
Please try re-uploading the default OC files
Please try re-uploading the default OC files
Well I haven't touched any of the OC files, and since everything else in the product page works fine, it seems unlikely to be a corrupt file, or a php error would most likely result.
The only thing I did modify was to clear out the demo products from the database. The Admin->Help->Documentation links to http://www.opencart.com/index.php?route ... ion&path=1, and if then click on Programmer Guide -> Programmer Checklist, I am taken to http://www.opencart.com/index.php?route ... path=77_67, which directs you to http://forum.opencart.com/viewtopic.php?f=23&t=13268 to clear all demo data.
As an aside, that forum thread is a bit of a mess, and though OpenCart is a fantastic product and I'm very thankful for everything the developers have put into it - if there is a part of the setup process that could use improvement, this is indeed it. After trying to follow the numerous posts there trying to clear out the database, it still had various remnants of various products, and I had to go into phpmysqladmin finally and go through every table and try to set up the db to a clean base starting point - without accidentally deleting any data that is not related to products.
Hopefully one of the developers can address that and replace it with a simple command to just clear out the database to a clean state with no products. Maybe that's not related to why I'm having an issue, but seems likely it could be related.
BTW I did look at the contents of the options_* tables in the db and all are populated correctly so I don't think it is any issue of me having cleared one of those accidentally.
Thanks,
David
The only thing I did modify was to clear out the demo products from the database. The Admin->Help->Documentation links to http://www.opencart.com/index.php?route ... ion&path=1, and if then click on Programmer Guide -> Programmer Checklist, I am taken to http://www.opencart.com/index.php?route ... path=77_67, which directs you to http://forum.opencart.com/viewtopic.php?f=23&t=13268 to clear all demo data.
As an aside, that forum thread is a bit of a mess, and though OpenCart is a fantastic product and I'm very thankful for everything the developers have put into it - if there is a part of the setup process that could use improvement, this is indeed it. After trying to follow the numerous posts there trying to clear out the database, it still had various remnants of various products, and I had to go into phpmysqladmin finally and go through every table and try to set up the db to a clean base starting point - without accidentally deleting any data that is not related to products.
Hopefully one of the developers can address that and replace it with a simple command to just clear out the database to a clean state with no products. Maybe that's not related to why I'm having an issue, but seems likely it could be related.
BTW I did look at the contents of the options_* tables in the db and all are populated correctly so I don't think it is any issue of me having cleared one of those accidentally.
Thanks,
David
Last edited by united on Wed Aug 31, 2011 2:24 am, edited 4 times in total.
just tested on the demo site using firefox 6 and it works fine.
it must be a issue at your side. maybe a browser extension or something. maybe even an antivirus. the ajax that is used is pretty common but some anti-viruses don't like ajax.
it must be a issue at your side. maybe a browser extension or something. maybe even an antivirus. the ajax that is used is pretty common but some anti-viruses don't like ajax.
OpenCart®
Project Owner & Developer.
I think the AJAX is fine, because everything works fine for attributes, which also have an ajax filled input box I think...
UPDATE: I reinstalled the files and everything is working now! So thanks for the suggestion to try that, and I guess the DB was not the issue. (No idea why copying the files again changed anything, but it's working now so that's good enough for me.)

UPDATE: I reinstalled the files and everything is working now! So thanks for the suggestion to try that, and I guess the DB was not the issue. (No idea why copying the files again changed anything, but it's working now so that's good enough for me.)

I agree.Qphoria wrote:I've found that a lot of people just don't understand how it works.. they think they are supposed to goto the product edit page and on the option tab click the "+" button first... but they skip the part about adding new options. Maybe a message on that page explaining that would help.
The way the current system works is not that obvious for many.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Well then, from the products edit page, maybe it would be best to implement a drop down box that is populated with the attributes/options, rather than a blank input field.Qphoria wrote:I've found that a lot of people just don't understand how it works.. they think they are supposed to goto the product edit page and on the option tab click the "+" button first... but they skip the part about adding new options. Maybe a message on that page explaining that would help.
That makes more sense to me, anyway.
A fresh install on my server work, however the code that I'm working in does not work.
1. MB String - installed, verified as it works with a fresh install.
2. Attributes - fresh install using default attributes, non-working uses my own attributes. Are there parameters for how the attributes must be set up? I've setup groups and attributes in those groups. Nothing comes up.
3. Just typing it in - was working, now not. I could just type in the attribute and value, click save and it would save. Now it just says it saves and doesn't and doesn't kick an error. Any suggestions on where this code is taking place so I can debug in there? Why would it just not save when typing in an attribute?
4. Antivirus - seriously, a/v programs can defeat ajax dropdowns? Uggg. I'm trying it on a couple different systems with free-av and with avast. Both having same issues.
5. Modules - any one found specific modules to be the issue?
Hopefully we can come up with a fix, other than "reinstall from base" as that is not a good option if you're actually tweaking OC to be used. If I can find anything I'll post it here.
Another thread on this going here:
http://forum.opencart.com/viewtopic.php?t=39699
1. MB String - installed, verified as it works with a fresh install.
2. Attributes - fresh install using default attributes, non-working uses my own attributes. Are there parameters for how the attributes must be set up? I've setup groups and attributes in those groups. Nothing comes up.
3. Just typing it in - was working, now not. I could just type in the attribute and value, click save and it would save. Now it just says it saves and doesn't and doesn't kick an error. Any suggestions on where this code is taking place so I can debug in there? Why would it just not save when typing in an attribute?
4. Antivirus - seriously, a/v programs can defeat ajax dropdowns? Uggg. I'm trying it on a couple different systems with free-av and with avast. Both having same issues.
5. Modules - any one found specific modules to be the issue?
Hopefully we can come up with a fix, other than "reinstall from base" as that is not a good option if you're actually tweaking OC to be used. If I can find anything I'll post it here.
Another thread on this going here:
http://forum.opencart.com/viewtopic.php?t=39699
I am having the same issue and this is kinda major for my client who is selling t-shirts. We can't list sizes. Please let us know when you have fixed this. Thanks. (If you are not the person I should be directing this to, please excuse my newness to the forum).Daniel wrote:people will have to wait until i have finished the order editor before i can get a new release done with the fixes in.
I had the same problem when I deleted all products, categories, options and add my own.
But when I empty the database and upload install again. In admin I rename the existing categories, products and options and then it is ok.
<edit> By the way when you add a new option it seams to have the same problem - nothing there :-(
But when I empty the database and upload install again. In admin I rename the existing categories, products and options and then it is ok.
<edit> By the way when you add a new option it seams to have the same problem - nothing there :-(
Last edited by OCyvon2 on Wed Sep 21, 2011 12:10 am, edited 1 time in total.
Sounds like the code requires sequential keys, or some other goofy thing like that. Any method for exporting wiping and reimporting to get keys sequential?
Did you reinstall EVERYTHING or is there a portion I can reinstall? man, it took me a long time to get all my categories in............................Cant someone fix this?OCyvon2 wrote:I had the same problem when I deleted all products, categories, options and add my own.
But when I empty the database and upload install again. In admin I rename the existing categories, products and options and then it is ok.
<edit> By the way when you add a new option it seams to have the same problem - nothing there :-(
Who is online
Users browsing this forum: Semrush [Bot] and 5 guests