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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Price Set file structure
Pages: [1]

Author Topic: Price Set file structure  (Read 438 times)

mepps

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: Mysql 5.5.34
  • PHP version: PHP 5.5.3
Price Set file structure
December 11, 2013, 12:00:45 pm
I am trying to add the option of setting visibility for price set options, in the same way that you can now do for price fields as a whole. Currently, I am trying to get the visibility value in the database to translate to a change in the front end on contribution pages. I am trying to find out where the template in templates/CRM/Price/Form/PriceSet.tpl gets the values in the $form.$element_name.$key, which originates from the $priceSet array.

Also I was able to get the PriceFieldValue page to update the database in 4.5, but when I integrated the same code into a client's 4.4 site, it did not update the database, even after I updated the DAO file. If anyone has suggestions for either of these problems I'd really appreciate it.

Thanks!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Price Set file structure

This forum was archived on 2017-11-26.