Roomify / bat_drupal

Booking and Availability Management Tools for Drupal 7 and Drupal 8
33 stars 7 forks source link

Confusion on implementing pricing #36

Open qcutter opened 8 years ago

qcutter commented 8 years ago

In order to implement pricing, in the documentation we are told to create an Event Type with the "open event state" then add an integer field (or commerce_price) via the manage field tab. Then we are also told to connect Event Types to Type Bundles. To connect fixed state events we use BAT Event State Reference. I understand how this connects Type Bundles and "fixed" Event States. However, we are told to create a new (not entity reference ... or should it be?) integer (or commerce_price) field. Without using a default Entity Reference to the "open" Event State with the pricing, Im not understanding how the two separate interger fields on the "Open" Event State and the Type bundle Connect (as we are connecting the Availability to the "fixed" Event State Reference, but Connecting the Integer field to the Type Bundle Reference. Sorry, but Im lost on how these "Open" Event States and Type Bundle integer fields connect, if they are supposed to, if there is supposed to be something else that connects them, or to connect this with drupal commerce should this reference a Commerce Product Type ??? Please help

*Im working on the latest version of bat_drupal, bat_api, Entity Reference 7.x-1.1 on base Drupal 7.24