Zen Cart Logo
Forums / General Questions / Adding a Dropdown with Event in the Product In Category Page

Adding a Dropdown with Event in the Product In Category Page

Locked

Views: 963

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
12 May 2009, 1:40 AM
#1
dukie6675 avatar

dukie6675

New Zenner

Join Date:
Sep 2008
Posts:
10
Plugin Contributions:
0

Adding a Dropdown with Event in the Product In Category Page

I am adding new product fields and would like todo the following.

When Im adding a new product, I need a drop down box, that will reload the page based on the drop down box selection.

Basically, for one selection, I need certain fields to show up, and for another selection, I need another set of fields to show up.

I have the code down, once a product is established, as what to display, but the initial page, I would like to reload based on what the selection is.

Its kinda like using the Text Editor drop box, once you choose an option, the page reloads.

Thank you.

12 May 2009, 2:13 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,627
Plugin Contributions:
0

Re: Adding a Dropdown with Event in the Product In Category Page

You are asking for dependent attributes and they are not available in a stock install. You will need custom code for that.

12 May 2009, 5:47 AM
#3
dukie6675 avatar

dukie6675

New Zenner

Join Date:
Sep 2008
Posts:
10
Plugin Contributions:
0

Re: Adding a Dropdown with Event in the Product In Category Page

Kim:

You are asking for dependent attributes and they are not available in a stock install. You will need custom code for that.
Yes. Basically, once the product in category page is loaded. I would like to be able have a drop box, that will reload the page, with one set or another set of fields.

13 May 2009, 7:42 PM
#4
dukie6675 avatar

dukie6675

New Zenner

Join Date:
Sep 2008
Posts:
10
Plugin Contributions:
0

Re: Adding a Dropdown with Event in the Product In Category Page

I have since thought it thru, and another option would be to dynamically, hide and unhide, certain fields/columns, with the click of a radio button.

I lack the knowledge to program this and keep the formating consistant.