dbxapp 4.5.3
Technische API-Referenz der dbxapp-Plattform
Lade ...
Suche ...
Keine Treffer
checkout_en.fd.php-Dateireferenz

Variablen

 $messages = array()
 $messages ['page_title'] = 'Checkout'
 $messages ['bar_title'] = 'Complete order'
 $messages ['page_subtitle'] = 'Review the customer details and test the demo order process.'
 $messages ['empty_title'] = 'Your cart is empty'
 $messages ['empty_subtitle'] = 'Select items before proceeding to checkout.'
 $messages ['empty_message'] = 'Select an item in the catalog and add it to your cart.'
 $messages ['login_subtitle'] = 'Sign-in required.'
 $messages ['login_message'] = '<strong>Sign-in required.</strong><br>Guest orders are currently disabled. Please sign in before completing the order.'
 $messages ['form_info'] = 'Review the customer details, payment method and acceptance of the legal texts.'
 $messages ['validation_error'] = 'Please check the highlighted required fields.'
 $messages ['no_payment'] = 'No payment method is available.'
 $messages ['select_payment'] = 'Select an available payment method.'
 $messages ['confirm_legal'] = 'Please accept the legal texts and acknowledge the withdrawal policy.'
 $messages ['legal_field_error'] = 'Please accept the legal texts.'
 $messages ['withdrawal_field_error'] = 'Please acknowledge the withdrawal policy.'
 $messages ['order_error'] = 'The order could not be created.'
 $messages ['technical_error'] = 'The order could not be processed due to a technical error.'
 $messages ['demo_title'] = 'Demo shop – no actual purchase'
 $messages ['demo_message'] = 'This shop is provided solely for demonstration and testing. You can complete the entire order process with test data; only a technical test transaction is processed. No actual purchase, payment or delivery takes place, and no purchase contract is formed.'
 $messages ['payment_bank_transfer'] = 'Prepayment / bank transfer'
 $messages ['payment_invoice'] = 'Invoice'
 $messages ['payment_none_help'] = 'No payment method is currently active or fully configured.'
 $messages ['payment_bank_transfer_help'] = 'The order is saved. The customer then transfers the amount using the order number as the payment reference.'
 $messages ['payment_invoice_help'] = 'The order is saved and paid later by invoice.'
 $messages ['payment_paypal_help'] = 'You will be redirected to PayPal. The payment is updated automatically after approval.'
 $messages ['payment_amazon_help'] = 'You will be redirected to Amazon Pay. Sandbox and live mode use the credentials saved in the shop settings.'
 $messages ['bank_transfer_default'] = 'Please transfer the invoice amount and include the order number.'
 $messages ['invoice_default'] = 'You will receive an invoice. Please pay within the stated period.'
 $messages ['paypal_default'] = 'The payment is authorized through PayPal and updated automatically after a successful response.'
 $messages ['amazon_default'] = 'The payment is authorized through Amazon Pay and updated automatically after a successful response.'
 $messages ['account_owner'] = 'Account holder'
 $messages ['purpose'] = 'Payment reference'
 $messages ['column_product'] = 'Product'
 $messages ['column_quantity'] = 'Quantity'
 $messages ['column_price'] = 'Price'
 $messages ['column_shipping'] = 'Shipping'
 $messages ['column_total'] = 'Total'
 $messages ['amount_due'] = 'Amount due'
 $messages ['order_saved_title'] = 'Order saved'
 $messages ['order_number_text'] = 'Your order number is'
 $messages ['payment_method_label'] = 'Payment method'
 $messages ['status_label'] = 'Status'
 $messages ['order_waiting'] = 'The order is visible in shop administration and is awaiting processing.'
 $messages ['total_label'] = 'Total'
 $messages ['view_orders'] = 'View orders'
 $messages ['continue_shopping'] = 'Continue shopping'
 $messages ['thanks_title'] = 'Thank you'
 $messages ['saved_snapshot_subtitle'] = 'The order was saved as a snapshot.'
 $messages ['payment_note'] = 'Payment information'
 $add_field
 $cfg = array()
if(function_exists('dbx')) $cfg_bool
 $payment_options = array()
if( $cfg_bool( 'payment_bank_transfer_enabled', true)) if($cfg_bool('payment_invoice_enabled', false)) if($cfg_bool( 'payment_paypal_enabled', false) &&trim((string)( $cfg[ 'payment_paypal_client_id'] ?? '')) !=='' &&trim((string)( $cfg[ 'payment_paypal_client_secret'] ?? '')) !=='') if( $cfg_bool('payment_amazon_pay_enabled', false) &&trim((string)($cfg['payment_amazon_pay_merchant_id'] ?? '')) !=='' &&trim((string)($cfg['payment_amazon_pay_store_id'] ?? '')) !=='' &&trim((string)($cfg['payment_amazon_pay_public_key_id'] ?? '')) !=='' &&trim((string)($cfg['payment_amazon_pay_private_key'] ?? '')) !=='') $option_string = ''

Variablen-Dokumentation

◆ $add_field

$add_field
Initialisierung:
= function($name, $type, $label, $rules, $tpl, $extra = array()) use (&$fields) {
$field=array();
$field['name']=$name;
$field['type']=$type;
$field['index']='';
$field['length']=$extra['length'] ?? '';
$field['default']=$extra['default'] ?? '';
$field['label']=$label;
$field['rules']=$rules;
$field['tooltip']=$extra['tooltip'] ?? '';
$field['errormsg']=$extra['errormsg'] ?? '';
$field['placeholder']=$extra['placeholder'] ?? '';
$field['convert']='';
$field['protect']='0';
$field['mask']='';
$field['data']=$extra['data'] ?? '';
$field['options']=$extra['options'] ?? '';
$field['tpl']=$tpl;
}
$fields[]
Definition config.dd.php:16
$field
Definition config.dd.php:4

◆ $cfg

$cfg = array()

◆ $cfg_bool

if (function_exists( 'dbx')) $cfg_bool
Initialisierung:
= function(string $key, bool $default = false) use ($cfg): bool {
if (!array_key_exists($key, $cfg)) {
return $default;
}
$value = $cfg[$key];
if (is_bool($value)) return $value;
return in_array(strtolower(trim((string)$value)), array('1', 'true', 'yes', 'on'), true);
}
$cfg
Definition checkout.fd.php:81

◆ $messages [1/50]

$messages[ 'account_owner'] = 'Account holder'

◆ $messages [2/50]

$messages[ 'amazon_default'] = 'The payment is authorized through Amazon Pay and updated automatically after a successful response.'

◆ $messages [3/50]

$messages[ 'amount_due'] = 'Amount due'

◆ $messages [4/50]

$messages[ 'bank_transfer_default'] = 'Please transfer the invoice amount and include the order number.'

◆ $messages [5/50]

$messages[ 'bar_title'] = 'Complete order'

◆ $messages [6/50]

$messages[ 'column_price'] = 'Price'

◆ $messages [7/50]

$messages[ 'column_product'] = 'Product'

◆ $messages [8/50]

$messages[ 'column_quantity'] = 'Quantity'

◆ $messages [9/50]

$messages[ 'column_shipping'] = 'Shipping'

◆ $messages [10/50]

$messages[ 'column_total'] = 'Total'

◆ $messages [11/50]

$messages[ 'confirm_legal'] = 'Please accept the legal texts and acknowledge the withdrawal policy.'

◆ $messages [12/50]

$messages[ 'continue_shopping'] = 'Continue shopping'

◆ $messages [13/50]

$messages[ 'demo_message'] = 'This shop is provided solely for demonstration and testing. You can complete the entire order process with test data; only a technical test transaction is processed. No actual purchase, payment or delivery takes place, and no purchase contract is formed.'

◆ $messages [14/50]

$messages[ 'demo_title'] = 'Demo shop – no actual purchase'

◆ $messages [15/50]

$messages[ 'empty_message'] = 'Select an item in the catalog and add it to your cart.'

◆ $messages [16/50]

$messages[ 'empty_subtitle'] = 'Select items before proceeding to checkout.'

◆ $messages [17/50]

$messages[ 'empty_title'] = 'Your cart is empty'

◆ $messages [18/50]

$messages[ 'form_info'] = 'Review the customer details, payment method and acceptance of the legal texts.'

◆ $messages [19/50]

$messages[ 'invoice_default'] = 'You will receive an invoice. Please pay within the stated period.'

◆ $messages [20/50]

$messages[ 'legal_field_error'] = 'Please accept the legal texts.'

◆ $messages [21/50]

$messages[ 'login_message'] = '<strong>Sign-in required.</strong><br>Guest orders are currently disabled. Please sign in before completing the order.'

◆ $messages [22/50]

$messages[ 'login_subtitle'] = 'Sign-in required.'

◆ $messages [23/50]

$messages[ 'no_payment'] = 'No payment method is available.'

◆ $messages [24/50]

$messages[ 'order_error'] = 'The order could not be created.'

◆ $messages [25/50]

$messages[ 'order_number_text'] = 'Your order number is'

◆ $messages [26/50]

$messages[ 'order_saved_title'] = 'Order saved'

◆ $messages [27/50]

$messages[ 'order_waiting'] = 'The order is visible in shop administration and is awaiting processing.'

◆ $messages [28/50]

$messages[ 'page_subtitle'] = 'Review the customer details and test the demo order process.'

◆ $messages [29/50]

$messages[ 'page_title'] = 'Checkout'

◆ $messages [30/50]

$messages[ 'payment_amazon_help'] = 'You will be redirected to Amazon Pay. Sandbox and live mode use the credentials saved in the shop settings.'

◆ $messages [31/50]

$messages[ 'payment_bank_transfer'] = 'Prepayment / bank transfer'

◆ $messages [32/50]

$messages[ 'payment_bank_transfer_help'] = 'The order is saved. The customer then transfers the amount using the order number as the payment reference.'

◆ $messages [33/50]

$messages[ 'payment_invoice'] = 'Invoice'

◆ $messages [34/50]

$messages[ 'payment_invoice_help'] = 'The order is saved and paid later by invoice.'

◆ $messages [35/50]

$messages[ 'payment_method_label'] = 'Payment method'

◆ $messages [36/50]

$messages[ 'payment_none_help'] = 'No payment method is currently active or fully configured.'

◆ $messages [37/50]

$messages[ 'payment_note'] = 'Payment information'

◆ $messages [38/50]

$messages[ 'payment_paypal_help'] = 'You will be redirected to PayPal. The payment is updated automatically after approval.'

◆ $messages [39/50]

$messages[ 'paypal_default'] = 'The payment is authorized through PayPal and updated automatically after a successful response.'

◆ $messages [40/50]

$messages[ 'purpose'] = 'Payment reference'

◆ $messages [41/50]

$messages[ 'saved_snapshot_subtitle'] = 'The order was saved as a snapshot.'

◆ $messages [42/50]

$messages[ 'select_payment'] = 'Select an available payment method.'

◆ $messages [43/50]

$messages[ 'status_label'] = 'Status'

◆ $messages [44/50]

$messages[ 'technical_error'] = 'The order could not be processed due to a technical error.'

◆ $messages [45/50]

$messages[ 'thanks_title'] = 'Thank you'

◆ $messages [46/50]

$messages[ 'total_label'] = 'Total'

◆ $messages [47/50]

$messages[ 'validation_error'] = 'Please check the highlighted required fields.'

◆ $messages [48/50]

$messages[ 'view_orders'] = 'View orders'

◆ $messages [49/50]

$messages[ 'withdrawal_field_error'] = 'Please acknowledge the withdrawal policy.'

◆ $messages [50/50]

$messages = array()

◆ $option_string

if($cfg_bool('payment_bank_transfer_enabled', true)) if( $cfg_bool( 'payment_invoice_enabled', false)) if( $cfg_bool('payment_paypal_enabled', false) &&trim((string)($cfg['payment_paypal_client_id'] ?? '')) !=='' &&trim((string)($cfg['payment_paypal_client_secret'] ?? '')) !=='') if ($cfg_bool( 'payment_amazon_pay_enabled', false) &&trim((string)( $cfg[ 'payment_amazon_pay_merchant_id'] ?? '')) !=='' &&trim((string)( $cfg[ 'payment_amazon_pay_store_id'] ?? '')) !=='' &&trim((string)( $cfg[ 'payment_amazon_pay_public_key_id'] ?? '')) !=='' &&trim((string)( $cfg[ 'payment_amazon_pay_private_key'] ?? '')) !=='') $option_string = ''

◆ $payment_options

$payment_options = array()