Forums / Setting Up Categories, Products, Attributes / How can a second attribute change depending on first attribute chosen?

How can a second attribute change depending on first attribute chosen?

Locked

Started by suffrinmick on 2 Apr 2007, 7:21 AM · Views: 1,802

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
2 Apr 2007, 7:21 AM
#1
suffrinmick avatar

suffrinmick

New Zenner

Join Date:
Jun 2005
Posts:
19
Plugin Contributions:
0

How can a second attribute change depending on first attribute chosen?

Hi, I'd like to use Zen Cart to allow customers to buy places on training courses. I have 25 different courses. Each course is run at various venues, and each course/venue runs the courses on different dates.

Therefore I need to add a product (course) and then apply the different attributes (venues) to each course (done this bit ok).

Then I need a list of dates to display/change, so the user can select an available date for the chosen venue.

Is this possible?
Regards
Suffrinmick

2 Apr 2007, 7:24 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: How can a second attribute change depending on first attribute chosen?

Anything's possible, but the behaviour you're looking for is not built-in to Zen Cart.
You will need to do significant custom coding, including PHP and likely some javascript/ajax work to present the options as well as validate selected choices.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.