|
|
@ -8,6 +8,7 @@ function fulcrm_shoppingcart_admin_form_submit( $form, &$form_state ) {
|
|
|
|
variable_set( 'fulcrm_shoppingcart_failure_url', $form_state[ 'values' ][ 'failure_url' ] );
|
|
|
|
variable_set( 'fulcrm_shoppingcart_failure_url', $form_state[ 'values' ][ 'failure_url' ] );
|
|
|
|
|
|
|
|
|
|
|
|
variable_set( 'fulcrm_shoppingcart_experience', $form_state[ 'values' ][ 'experience' ] );
|
|
|
|
variable_set( 'fulcrm_shoppingcart_experience', $form_state[ 'values' ][ 'experience' ] );
|
|
|
|
|
|
|
|
variable_set( 'fulcrm_shoppingcart_event_itinerary', $form_state[ 'values' ][ 'event_itinerary' ] );
|
|
|
|
|
|
|
|
|
|
|
|
variable_set( 'fulcrm_shoppingcart_donations', $form_state[ 'values' ][ 'donation_enabled' ] );
|
|
|
|
variable_set( 'fulcrm_shoppingcart_donations', $form_state[ 'values' ][ 'donation_enabled' ] );
|
|
|
|
variable_set( 'fulcrm_shoppingcart_donation_cart_product', intval( $form_state[ 'values' ][ 'donation_cart_product' ] ) );
|
|
|
|
variable_set( 'fulcrm_shoppingcart_donation_cart_product', intval( $form_state[ 'values' ][ 'donation_cart_product' ] ) );
|
|
|
@ -44,6 +45,14 @@ function fulcrm_shoppingcart_admin_form( $form, &$form_state ) {
|
|
|
|
'#default_value' => variable_get( 'fulcrm_shoppingcart_experience', 'force' ),
|
|
|
|
'#default_value' => variable_get( 'fulcrm_shoppingcart_experience', 'force' ),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$form[ 'event_itinerary' ] = array( '#type' => 'select',
|
|
|
|
|
|
|
|
'#title' => t('Event Itinerary'),
|
|
|
|
|
|
|
|
'#options' => array( 'elide' => t('Elide when no choices to make'),
|
|
|
|
|
|
|
|
'full' => t('Show in full'),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
'#default_value' => variable_get( 'fulcrm_shoppingcart_event_itinerary', 'full' ),
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
$form[ 'fulcrm_url' ] = array( '#type' => 'fieldset',
|
|
|
|
$form[ 'fulcrm_url' ] = array( '#type' => 'fieldset',
|
|
|
|
'#title' => 'Return URLs',
|
|
|
|
'#title' => 'Return URLs',
|
|
|
|
);
|
|
|
|
);
|
|
|
|