Forums / Templates, Stylesheets, Page Layout / Attribute radio buttons not checked on product listing pages.

Attribute radio buttons not checked on product listing pages.

Started by swdstudios on 19 Jan 2015, 7:25 PM · Views: 780

Results 1 to 5 of 5
19 Jan 2015, 7:25 PM
#1
swdstudios avatar

swdstudios

New Zenner

Join Date:
Jun 2008
Posts:
2
Plugin Contributions:
0

Attribute radio buttons not checked on product listing pages.

Everything has been working fine for years, but recently (past week?) on the product listing pages, the attribute option radio buttons are not checked, except for the last product on the page. The HTML code shows the buttons as checked="checked". It appears that all of the radio buttons are given the same name (id[2]), so when the last radio button is checked, it clears the previously checked radio buttons. Also, when the Add to Cart button is clicked, it goes to the product details page instead of the shopping cart.

Example page: http://lyndonlyon.com/store/index.php?main_page=index&cPath=1_5

I'm using version 1.3.9h. (I know, it's outdated.)

19 Jan 2015, 7:50 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Attribute radio buttons not checked on product listing pages.

What php version? (Admin->version in the upper right corner)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

19 Jan 2015, 10:10 PM
#4
swdstudios avatar

swdstudios

New Zenner

Join Date:
Jun 2008
Posts:
2
Plugin Contributions:
0

Re: Attribute radio buttons not checked on product listing pages.

PHP Version: 5.4.35 (Zend: 2.4.0)

19 Jan 2015, 11:46 PM
#5
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Attribute radio buttons not checked on product listing pages.

swdstudios:

PHP Version: 5.4.35 (Zend: 2.4.0)

May I suggest, do not edit any product further. See if your host can support temporarily downgrading the PHP, and prepare yourself for an upgrade. ZC 1.5.4 has just been released and it would be a good time to upgrade. Recommended reading: http://www.zen-cart.com/entry.php?3-How-do-I-rebuild-my-site-on-the-new-version-instead-of-upgrading

Reason to not edit product, it has been shown that with PhP 5.4 and ZC 1.3.9 that upon "finishing" the edit, the description will disappear from the database. Btw, make a backup, please don't take any shortcuts to the above instructions, and all will be fine.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...