CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • How to change the quantity on an item from a price set ?
Pages: [1]

Author Topic: How to change the quantity on an item from a price set ?  (Read 1818 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
How to change the quantity on an item from a price set ?
June 12, 2008, 11:24:14 pm
On an event with a price set, I want to change the quantity (instead of the default 1).

The idea is to set a price per night, and less the registrant choose how long he wants to stay.

I can't find what is the right type of field or thing to do to be able to translate the number entered into the registration page into the quantity.

Any idea ?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: How to change the quantity on an item from a price set ?
June 13, 2008, 10:16:13 am
I haven't played with this feature for a while, so I might have this wrong, but... I think using the price set field type = Text does this. It gives the user a "text" input field to enter a quantity, and multiplies that by the "Price" you entered for the price set field.
Protect your investment in CiviCRM by  becoming a Member!

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: How to change the quantity on an item from a price set ?
June 13, 2008, 10:38:04 pm
Hi,

You are right. I didn't think about it because I was looking for a 'quantity' or 'integer' or 'number' kind of field, and I didn't think "text" was the one I needed.

http://issues.civicrm.org/jira/browse/CRM-3204

X+

FYI: for me "text" was to enter a custom text, eg. "engraved with your name - 50$ :" (write your name in the field)
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: How to change the quantity on an item from a price set ?
June 14, 2008, 03:08:19 pm
Ha - good to know that was there all the time. Makes even more things possible
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • How to change the quantity on an item from a price set ?

This forum was archived on 2017-11-26.