Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2012
    Posts
    26
    Plugin Contributions
    0

    Default 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

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

    Default 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?

  3. #3
    Join Date
    Apr 2012
    Posts
    26
    Plugin Contributions
    0

    Default 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).

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,984
    Plugin Contributions
    0

    Default 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.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,387
    Plugin Contributions
    6

    Default 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: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #6
    Join Date
    Apr 2012
    Posts
    26
    Plugin Contributions
    0

    Default 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.

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,387
    Plugin Contributions
    6

    Default 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: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  8. #8
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,956
    Plugin Contributions
    3

    Default 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".
    Our latest project is Pet Tags.

  9. #9
    Join Date
    Apr 2012
    Posts
    26
    Plugin Contributions
    0

    Default Re: conditional fields

    Brilliant. Thanks, schoolboy.

 

 

Similar Threads

  1. Create Account - modify existing fields or add extra fields?
    By sopretty in forum General Questions
    Replies: 4
    Last Post: 30 Jul 2010, 08:26 PM
  2. Conditional comments?
    By jaggers in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Nov 2007, 03:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •