Post by jfn99 » Sat Aug 27, 2011 5:09 am

Same thing with me, anyone have figured this out yet? is this a bug?

New member

Posts

Joined
Thu Feb 25, 2010 5:14 pm

Post by Daniel » Sun Aug 28, 2011 12:31 pm

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!

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by united » Mon Aug 29, 2011 1:53 pm

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

User avatar
Newbie

Posts

Joined
Sun Aug 21, 2011 9:48 am
Location - San Diego, California

Post by uksitebuilder » Mon Aug 29, 2011 4:06 pm

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.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by united » Mon Aug 29, 2011 4:26 pm

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:

Code: Select all

        <div id="tab-option">
          <div id="vtab-option" class="vtabs">
                                    <span id="option-add">
            <input name="option" value="" style="width: 130px;" />
            &nbsp;<img src="view/image/add.png" alt="Add Option" title="Add Option" /></span></div>
                                        <script type="text/javascript"><!--
                    		  
		  		  //--></script> 
        </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

User avatar
Newbie

Posts

Joined
Sun Aug 21, 2011 9:48 am
Location - San Diego, California

Post by uksitebuilder » Mon Aug 29, 2011 4:33 pm

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

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by united » Mon Aug 29, 2011 4:59 pm

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
Last edited by united on Wed Aug 31, 2011 2:24 am, edited 4 times in total.

User avatar
Newbie

Posts

Joined
Sun Aug 21, 2011 9:48 am
Location - San Diego, California

Post by Daniel » Mon Aug 29, 2011 9:01 pm

i will try to test it on the demo.opencart.com site. its an unmodified version of 1.5.1

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Daniel » Mon Aug 29, 2011 9:22 pm

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.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by united » Tue Aug 30, 2011 3:12 am

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.)

;D

User avatar
Newbie

Posts

Joined
Sun Aug 21, 2011 9:48 am
Location - San Diego, California

Post by Daniel » Tue Aug 30, 2011 3:23 pm

it could mean that the wrong ftp transfer protocol is being used.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Qphoria » Tue Aug 30, 2011 6:52 pm

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.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by i2Paq » Tue Aug 30, 2011 7:04 pm

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.
I agree.

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.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by profkp » Sat Sep 03, 2011 10:52 pm

Postby meagain121 » Tue Aug 09, 2011 10:28 am
I had to speak to my host to get mbstring enabled. It worked so thanks.
Ditto here. Just had to yum install - works as should now...

kp

User avatar
Newbie

Posts

Joined
Sat Sep 03, 2011 10:50 pm

Post by deanmono » Wed Sep 14, 2011 5:40 am

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.
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.

That makes more sense to me, anyway.

Newbie

Posts

Joined
Wed Sep 14, 2011 5:34 am

Post by Russell Mann » Fri Sep 16, 2011 2:01 pm

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

Newbie

Posts

Joined
Tue Aug 23, 2011 1:16 am

Post by chickc » Mon Sep 19, 2011 11:38 pm

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 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).

Newbie

Posts

Joined
Fri Jun 17, 2011 5:21 am

Post by OCyvon2 » Tue Sep 20, 2011 8:20 pm

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 :-(
Last edited by OCyvon2 on Wed Sep 21, 2011 12:10 am, edited 1 time in total.

OpenCartstore
Gebruikersgids (admin handleiding)


User avatar
Active Member

Posts

Joined
Sun Jan 31, 2010 8:00 pm
Location - Zaandam, The Netherlands

Post by Russell Mann » Wed Sep 21, 2011 12:00 am

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?

Newbie

Posts

Joined
Tue Aug 23, 2011 1:16 am

Post by chickc » Wed Sep 21, 2011 12:42 am

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 :-(
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?

Newbie

Posts

Joined
Fri Jun 17, 2011 5:21 am
Who is online

Users browsing this forum: No registered users and 4 guests