diff --git a/fulcrm_shoppingcart.module b/fulcrm_shoppingcart.module index f9904c3..d9acfd0 100644 --- a/fulcrm_shoppingcart.module +++ b/fulcrm_shoppingcart.module @@ -331,7 +331,7 @@ function fulcrm_shoppingcart_buy_eventbookingtype_form( $form, &$form_state, $pe $form[ 'actions' ] = array( '#type' => 'actions' ); $form[ 'actions' ][ 'save' ] = array( '#type' => 'submit', - '#value' => t('Add to Basket'), + '#value' => t('Add to Cart'), '#submit' => array( 'fulcrm_shoppingcart_buy_eventbookingtype_form_submit' ), ); @@ -391,7 +391,7 @@ function fulcrm_shoppingcart_buy( $product_id, $hmac ) { return 'ok!'; } else { - return 'error adding item to shopping basket'; + return 'error adding item to shopping cart'; } } else { drupal_not_found(); @@ -469,6 +469,7 @@ function fulcrm_shoppingcart_checkout() { $transaction_data2 = fulcrm_apiv2_PATCH( $transaction_data[ 'data' ][ 'url' ], $transaction_push, $query = array( 'expand' => implode( ',', array( 'd', + 'lineitems', ) ) ) ); if ( $transaction_data2[ 'success' ] ) { return theme( 'fulcrm_shoppingcart_transaction_checkout', array( 'transaction' => $transaction_data2[ 'data' ] ) ); diff --git a/fulcrm_shoppingcart_transaction_item.tpl.php b/fulcrm_shoppingcart_transaction_item.tpl.php index e25038c..e619ea6 100644 --- a/fulcrm_shoppingcart_transaction_item.tpl.php +++ b/fulcrm_shoppingcart_transaction_item.tpl.php @@ -1,5 +1,5 @@