Page 1 of 2

Options Disappearing

Posted: Sat Feb 04, 2012 4:47 am
by ktriggs
I have read through the bug reports and found someone with similar issues, but didn't see if it was addressed or not, or if it is a known bug. I have 11 computers I am selling on my cart. Each has a ton of options. When going into the admin seciton and editing the options, and saviing I find that some options disappear that I didn't even edit. I have set public $useCache = true; in vqmod.php and that didn't make a difference. I have made sure my php.ini is set to the max memory limit of 128MB. I'm just not sure where to go from here. Any suggestions are greatly appreciated. If this has already been solved, I apologize for not being able to find it. I have been searching for weeks on a solution, and even offered to pay someone to fix it.

Thanks!

Re: Options Disappearing

Posted: Sun Feb 05, 2012 10:34 am
by jty
Yer, I've seen this myself and I only had 2 options. It has something to do with the ajax call not completing the return of the already saved options.

looking at the code, what oc does when a product is edited is to first delete all the options, then it re-inserts them. But if the ajax call doesn't return all the saved options, they won't be re-saved and so disappear.

I haven't found a solution, ajax is beyond my level of knowledge. My workaround is to check all the options are showing before I save a product. If all my options aren't showing, I back out and go back in until all the options show, before I save.
It's not an ideal workaround but it's better than losing options, until someone works out the fix

Re: Options Disappearing

Posted: Tue Feb 07, 2012 8:16 pm
by Qphoria

Re: Options Disappearing

Posted: Tue Feb 07, 2012 9:07 pm
by ktriggs
Thanks! Will give it a shot and report back!

Re: Options Disappearing

Posted: Mon Feb 13, 2012 8:16 am
by straightlight
I have now created a free contribution to fix this issue in the mean time: http://forum.opencart.com/viewtopic.php?f=23&t=53264

Re: Options Disappearing

Posted: Tue Feb 14, 2012 12:48 am
by george347
I also have this issue, but I its when I add the product to a second category. I dont use vqmod and if I do i dont know about it! can the fix be put in simple terms for me please, many thanks in advance .

Re: Options Disappearing

Posted: Tue Feb 14, 2012 12:51 am
by straightlight
As mentioned on the market description, it fixes the admin - > catalog - > options page. As for the product option page, I don't seem to encounter any issue afterwards but at least no fix needs to be posted on that one either. ;)

Re: Options Disappearing

Posted: Tue Mar 13, 2012 3:33 am
by george347
ok I have down graded the cart from 1.5.1.3 to 1.5.1.2 and the issue is still apparent.

I have tried the mod as linked above as now I have other issues...

Is it just me having these problems? Is this an issue on the newest cart?

Re: Options Disappearing

Posted: Tue Mar 13, 2012 10:54 am
by Qphoria
george347 wrote:ok I have down graded the cart from 1.5.1.3 to 1.5.1.2 and the issue is still apparent.

I have tried the mod as linked above as now I have other issues...

Is it just me having these problems? Is this an issue on the newest cart?
Why would you think that would help? It's a known and confirmed issued with viable work arounds.
1.5.2 has the real fix.
1.5.1.2 is a waste of your time.

Re: Options Disappearing

Posted: Tue Mar 13, 2012 11:07 am
by wendy2009
ImageI also have this issue

Re: Options Disappearing

Posted: Tue Mar 13, 2012 8:54 pm
by ktriggs
As far as I know the issue has been resolved in the latest release of OpenCart 1.5.2. However, if you would like a fix for 1.5.1.3 via vQmod, then I may be able to provide that to you. PM me if you want to discuss that.

Re: Options Disappearing

Posted: Tue Mar 13, 2012 9:04 pm
by straightlight
The fix is already provided here: http://www.opencart.com/index.php?route ... on_id=4980 and works on v1.5.1.3.1 as well.

Re: Options Disappearing

Posted: Wed Mar 14, 2012 2:28 am
by Qphoria
straightlight wrote:The fix is already provided here: http://www.opencart.com/index.php?route ... on_id=4980 and works on v1.5.1.3.1 as well.
I dare declare you may get more hits on your mods if you put a real screenshot in place of the opencart logo. I (and many others based on the comments) don't seem to understand what some of your mods do based on description alone.

Re: Options Disappearing

Posted: Wed Mar 14, 2012 2:31 am
by straightlight
Qphoria wrote:
straightlight wrote:The fix is already provided here: http://www.opencart.com/index.php?route ... on_id=4980 and works on v1.5.1.3.1 as well.
I dare declare you may get more hits on your mods if you put a real screenshot in place of the opencart logo. I (and many others based on the comments) don't seem to understand what some of your mods do based on description alone.
The description is in English and plain text. It is only a matter of understanding that language.

Re: Options Disappearing

Posted: Wed Mar 14, 2012 2:34 am
by ktriggs
straightlight wrote:The fix is already provided here: http://www.opencart.com/index.php?route ... on_id=4980 and works on v1.5.1.3.1 as well.
According to the mod you provided it appears it isn't a vQmod. I am using a vQmod to fix this issue on 1.5.1.3 until I decide I want to upgrade to the 1.5.2 which includes the fix.

Re: Options Disappearing

Posted: Wed Mar 14, 2012 2:37 am
by straightlight
Correct, it isn't VQMod since VQMod does not allow to replace codes by blocks but rather by lines which would be harden to modify and re-add with such required replacements to fix this problem at this time.

Re: Options Disappearing

Posted: Wed Mar 14, 2012 2:48 am
by ktriggs
straightlight wrote:Correct, it isn't VQMod since VQMod does not allow to replace codes by blocks but rather by lines which would be harden to modify and re-add with such required replacements to fix this problem at this time.
All I'm saying is that I have a vQmod that DOES fix this issue, so it would be better to use this one instead of yours if users do not want to modify the core OpenCart code in 1.5.1.3. prior to upgrading to 1.5.2

Re: Options Disappearing

Posted: Wed Mar 14, 2012 2:51 am
by straightlight
ktriggs wrote:
straightlight wrote:Correct, it isn't VQMod since VQMod does not allow to replace codes by blocks but rather by lines which would be harden to modify and re-add with such required replacements to fix this problem at this time.
All I'm saying is that I have a vQmod that DOES fix this issue, so it would be better to use this one instead of yours if users do not want to modify the core OpenCart code in 1.5.1.3. prior to upgrading to 1.5.2
While I understand the point here, mine ALSO does fix this issue but it is simply not created with VQMod for the reasons explained above.

Re: Options Disappearing

Posted: Wed Mar 14, 2012 2:58 am
by ktriggs
straightlight wrote:
ktriggs wrote:
straightlight wrote:Correct, it isn't VQMod since VQMod does not allow to replace codes by blocks but rather by lines which would be harden to modify and re-add with such required replacements to fix this problem at this time.
All I'm saying is that I have a vQmod that DOES fix this issue, so it would be better to use this one instead of yours if users do not want to modify the core OpenCart code in 1.5.1.3. prior to upgrading to 1.5.2
While I understand the point here, mine ALSO does fix this issue but it is simply not created with VQMod for the reasons explained above.
Well apparently this is just turning into an argument. I'm saying that editing the core code of Opencart (Which is what you are having users do) is NOT GOOD. So, I have had someone take the time to code a vQmod to fix this issue, which you did not do.

Re: Options Disappearing

Posted: Wed Mar 14, 2012 3:02 am
by straightlight
It is great to hear you did find someone to do it with VQMod. Although, I never did received notification from anyone regarding this fix which needed to be done with VQMod since my release date.