Zen Cart Logo
Forums / General Questions / Attribute dropdowns suddenly stopped working

Attribute dropdowns suddenly stopped working

Views: 1,234

Results 1 to 13 of 13
14 Nov 2013, 4:36 PM
#1
mementomori avatar

mementomori

New Zenner

Join Date:
Jun 2012
Posts:
10
Plugin Contributions:
0

Attribute dropdowns suddenly stopped working

Hi folks, I hope you can help me. Suddenly my site has no dropdowns. The thumbnail images for the options are still there, but the dropdown menus are missing. The only thing I've changed recently was to add a new attribute and change the price of a few things, but everything seemed to work fine afterward. Then a day or two later, this happens. Any ideas?

-M

15 Nov 2013, 4:32 AM
#2
mementomori avatar

mementomori

New Zenner

Join Date:
Jun 2012
Posts:
10
Plugin Contributions:
0

Re: Attribute dropdowns suddenly stopped working

Anyone? I'm dead in the water over here.

-M

15 Nov 2013, 12:30 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Attribute dropdowns suddenly stopped working

As always, a link to the site might help us spot something.

15 Nov 2013, 12:32 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attribute dropdowns suddenly stopped working

MementoMori:

Anyone? I'm dead in the water over here.

-M

Personally, and based on the information provided, I couldn't tell you why that happened; however, it may help if you follow the Posting Tips guidelines that appear when in the Zen Cart 2013 template format of this forum:

Have you already posted about this issue? If so, DO NOT POST a duplicate. Instead, reply to your existing post, with MORE information.
NOTE: When making a new post, be sure to include relevant information such as:

  • What version of Zen Cart are you using?
  • Has your site been upgraded? When? From what version(s)?
  • If you've upgraded, HOW did you upgrade? (official upgrade procedure or an automated script from your hosting company?)
  • What plugins/addons have you installed? When? If your problems are payment-related, what payment module(s) are you using? If it's shipping-related, which shipping module(s) are you using?
  • HOW did you install Zen Cart? (upload via FTP and run zc_install, or a one-click install from your hosting company? (one-click installs might mean you don't have enough information about your site/server to make customizations easily))
  • What version of PHP and MySQL is your server using? (See Admin->Tools->Server Info)
  • WHEN did the problem "start"? How does that compare with other events of your hosting company, changes you've made to your site files/addons, or your admin settings, etc?
  • If this is your first store, have you tested all aspects of transactions before going live?
  • In what ways is your site customized or different from a brand new uncustomized install?
  • Please post your site URL* so we can take a look at it. This is especially important if you're encountering display/layout problems, so the problem can be seen directly.
  • If you're encountering problems that could be related to your server or hosting company, include the name of your hosting company (not their URL).

Also read the "Before You Post" and "Forum Do's and Don'ts" to be sure you provide at least the basics of information in your post. The more detail you supply, the more likely you'll get a usable answer. If you don't give enough information then you'll likely just get a reply asking for more info, or worse: no reply at all. We'd rather give excellent answers than have to ask you more questions!

*NOTE: Search engines index this Zen Cart® support site very quickly. Posting your URL will cause your site and your post to show up in search engines. If you want to prevent that, put spaces between each letter of the domain name in your URL.

15 Nov 2013, 6:24 PM
#5
mementomori avatar

mementomori

New Zenner

Join Date:
Jun 2012
Posts:
10
Plugin Contributions:
0

Re: Attribute dropdowns suddenly stopped working

Sorry, I'm using v1.3.9e. My host uses PHP 5.3 I believe.

Here's a link to the site- http://www.datamancer.com/cart/the-vicar-keyboard-p-209.html

Any help would be greatly appreciated. I'm doing some backups right now and might try using my host's backups or "domain restore" functions later, but I'm worried that might break it even more.

-M

15 Nov 2013, 6:47 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attribute dropdowns suddenly stopped working

MementoMori:

Sorry, I'm using v1.3.9e. My host uses PHP 5.3 I believe.

Here's a link to the site- http://www.datamancer.com/cart/the-vicar-keyboard-p-209.html

Any help would be greatly appreciated. I'm doing some backups right now and might try using my host's backups or "domain restore" functions later, but I'm worried that might break it even more.

-M

And you've made no changes to your template nor to the associated CSS since you had last looked at/reviewed product pages?

15 Nov 2013, 6:55 PM
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attribute dropdowns suddenly stopped working

You've got something missing/in error after the div class="back" statement in your product template. There's no select name= code being applied for any of the items except the currency. So generally speaking dropdowns are still present and work, they just are not appearing where they would be desired... Personnally not sure how the pictures end up playing in the whole thing, but it seems that there is something astray with the template (or next I think would be a module associated with it).

15 Nov 2013, 8:45 PM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attribute dropdowns suddenly stopped working

Looking further to where that code is brought out, it may seem that you have a bad tpl_modules_attributes.php file in either

/includes/templates/YOURCUSTOMTEMPLATE/templates/tpl_modules_attributes.php (if it is overridden) or:
/includes/templates/template_default/templates/tpl_modules_attributes.php (if it is not overridden)

In either case, reupload the file that is in the applicable folder (Custom template overrides the default, so if you have/had such a file in your custom template folder, reupload it, otherwise reupload the file in your default template). To me, an upload gone wrong seems more likely than anything else...

16 Nov 2013, 1:38 AM
#9
mementomori avatar

mementomori

New Zenner

Join Date:
Jun 2012
Posts:
10
Plugin Contributions:
0

Re: Attribute dropdowns suddenly stopped working

Thanks so much for the help, folks! I'll try that. I haven't uploaded or changed anything recently. The only changes I made were to add a few new attributes recently, and that was through the admin panel.

-M

16 Nov 2013, 1:46 AM
#10
mementomori avatar

mementomori

New Zenner

Join Date:
Jun 2012
Posts:
10
Plugin Contributions:
0

Re: Attribute dropdowns suddenly stopped working

You rock! It seems to have fixed the issue. For some reason one of the attributes is displaying as a huge column of radio buttons rather than a drop-down, but aside from that, the rest seem to be working.

-M

16 Nov 2013, 2:02 AM
#11
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attribute dropdowns suddenly stopped working

MementoMori:

You rock! It seems to have fixed the issue. For some reason one of the attributes is displaying as a huge column of radio buttons rather than a drop-down, but aside from that, the rest seem to be working.

-M

Ohh, that just needs to be updated in your Option Names Manager. Change the Left Num Lock LED color name from a radio button to a dropdown... That will fix it all. :)

16 Nov 2013, 4:29 AM
#12
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attribute dropdowns suddenly stopped working

MementoMori:

You rock! It seems to have fixed the issue. For some reason one of the attributes is displaying as a huge column of radio buttons rather than a drop-down, but aside from that, the rest seem to be working.

-M

mc12345678:

Ohh, that just needs to be updated in your Option Names Manager. Change the Left Num Lock LED color name from a radio button to a dropdown... That will fix it all. :)

Saw the change.. BTW, might want to add an additional option value to each of the option names, set the sort order for it to zero, and set the value as a default such that visitors must select one of the options, unless you are overrun with ruby related items and expect the customer to always be satisfied with that... :/ if I may offer taking a look at: http://www.zen-cart.com/showthread.php?210675-Attributes-Radio-buttons&p=1223627#post1223627 as a start for addressing that aspect.

19 Nov 2013, 11:21 PM
#13
mementomori avatar

mementomori

New Zenner

Join Date:
Jun 2012
Posts:
10
Plugin Contributions:
0

Re: Attribute dropdowns suddenly stopped working

mc12345678:

Saw the change.. BTW, might want to add an additional option value to each of the option names, set the sort order for it to zero, and set the value as a default such that visitors must select one of the options, unless you are overrun with ruby related items and expect the customer to always be satisfied with that... :/ if I may offer taking a look at: http://www.zen-cart.com/showthread.php?210675-Attributes-Radio-buttons&p=1223627#post1223627 as a start for addressing that aspect.

Good idea, Thanks!

-M