Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Customization from the Admin / conditional fields

conditional fields

Started by kathy_1 on 28 Apr 2012, 8:28 AM · Views: 1,859

Results 1 to 9 of 9
28 Apr 2012, 8:28 AM
#1
kathy_1 avatar

kathy_1

New Zenner

Join Date:
Apr 2012
Posts:
26
Plugin Contributions:
0

conditional fields

Me again. Can a field appear (at checkout, i suppose) depending on products purchased? So, if you have purchased a horse event, a "horse's name" field appears (preferably with the option to enter several horse names).

My guess is that it might call for some clever SQL action.

Thanks
Kathy

28 Apr 2012, 5:37 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: conditional fields

What would be the purpose of people entering these names into a field. What is intended to happen once they have put this data in, and clicked some sort of "submit" button?

29 Apr 2012, 12:18 AM
#3
kathy_1 avatar

kathy_1

New Zenner

Join Date:
Apr 2012
Posts:
26
Plugin Contributions:
0

Re: conditional fields

We need to collect the information because some events judge the horse (regardless of the rider) an some judge the rider (regardless of the horse).

29 Apr 2012, 10:00 AM
#4
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: conditional fields

Sorry, but I have no idea what you are talking about.

Are you expecting a horse to try to check out on your webshop?

What is it exactly that you are selling? How are you selling it? what additional information do you need to determine the nature of a sale?

Maybe that will help explain things better.

29 Apr 2012, 6:00 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: conditional fields

Any reason why you wouldn't want to use an Attribute on the Product where the customer can fill this in on a Product by Product basis for this?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

30 Apr 2012, 2:43 AM
#6
kathy_1 avatar

kathy_1

New Zenner

Join Date:
Apr 2012
Posts:
26
Plugin Contributions:
0

Re: conditional fields

this website is for an agricultural show. those entering horse events will need to supply their horse's name. the difficulty with using an attribute will be that i only need the info once and if they are entering 20 events, they won't be best pleased by entering the same info 20 times. What i'd really like is for fields to appear at checkout, depending on categories of "products" purchased.

30 Apr 2012, 2:54 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: conditional fields

Are you using the existing comments on the checkout for anything?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

30 Apr 2012, 7:09 AM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: conditional fields

I imagine that you have set up each EVENT as a separate PRODUCT. You can still use attributes if you set up just ONE product called "Equestrian Events", and then (using attribute CHECKBOXES and a TEXT FIELD) ask people to select each event (checkboxes) that they wish to enter. By using attribute pricing, each checkbox can be "priced".

When they have checked appropriate boxes, a TEXT field can be used to capture horse and rider names. Use the attribute COMMENT box to explain HOW they should list horse/rider combinations for their text inputs.

In this way, they can complete everything on ONE page, before they "Add to Cart".

20 years a Zencart User

1 May 2012, 6:28 AM
#9
kathy_1 avatar

kathy_1

New Zenner

Join Date:
Apr 2012
Posts:
26
Plugin Contributions:
0

Re: conditional fields

Brilliant. Thanks, schoolboy.