daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 118 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  $templateVars = [
  2.             'messageValidate' => $messageValidate,
  3.             'pts_static_token' => Tools::encrypt('onepagecheckoutps/index'),
  4.             'static_token' => Tools::getToken(false),
  5.             'countries' => $countries_js,
  6.             'countriesNeedIDNumber' => $countriesNeedIDNumber,
  7.             'countriesNeedZipCode' => $countriesNeedZipCode,
  8.             'countriesIsoCode' => $countriesIsoCode,
  9.             'position_steps' => $position_steps,
  10.             'payment_modules_fee' => $this->addModulesExtraFee(),
  11.             'is_virtual_cart' => $this->context->cart->isVirtualCart(),
  12.             'hook_create_account_top' => Hook::exec('displayCustomerAccountFormTop'),
  13.             'hook_create_account_form' => Hook::exec('displayCustomerAccountForm'),
  14.             'have_ship_to_pay' => (int) empty($have_ship_to_pay),
  15.             'opc_social_networks' => $opc_social_networks,
  16.             'newsletter' => $newsletter,
  17.             'is_set_invoice' => $is_set_invoice,
  18.             'register_customer' => $register_customer,
  19.             'CONFIGS' => $this->config_vars,
  20.             'OnePageCheckoutPS' => [
  21.                 'date_format_language' => $date_format_language,
  22.                 'id_country_delivery_default' => $id_country_delivery_default,
  23.                 'id_country_invoice_default' => $id_country_invoice_default,
  24.                 'iso_code_country_delivery_default' => $iso_code_country_delivery_default,
  25.                 'iso_code_country_invoice_default' => $iso_code_country_invoice_default,
  26.                 'IS_GUEST' => (bool) $this->context->customer->isGuest(),
  27.                 'IS_LOGGED' => (bool) $this->context->customer->isLogged(),
  28.                 'iso_code_country_invoice_default' => $iso_code_country_invoice_default,
  29.                 'LANG_ISO_ALLOW' => ['es', 'en', 'ca', 'br', 'eu', 'pt', 'eu', 'mx'],
  30.                 'ONEPAGECHECKOUTPS_DIR' => $this->onepagecheckoutps_dir,
  31.                 'ONEPAGECHECKOUTPS_IMG' => $this->onepagecheckoutps_dir.'views/img/',
  32.                 'PRESTASHOP' => [
  33.                     'CONFIGS' => [
  34.                         'PS_TAX_ADDRESS_TYPE' => Configuration::get('PS_TAX_ADDRESS_TYPE'),
  35.                         'PS_GUEST_CHECKOUT_ENABLED' => Configuration::get('PS_GUEST_CHECKOUT_ENABLED'),
  36.                     ],
  37.                 ],
  38.                 'Msg' => [
  39.                     'there_are' => $this->l('There are'),
  40.                     'there_is' => $this->l('There is'),
  41.                     'error' => $this->l('Error'),
  42.                     'errors' => $this->l('Errors'),
  43.                     'field_required' => $this->l('Required'),
  44.                     'dialog_title' => $this->l('Confirm Order'),
  45.                     'no_payment_modules' => $this->l('There are no payment methods available.'),
  46.                     'validating' => $this->l('Validating, please wait'),
  47.                     'error_zipcode' => $this->l('The Zip / Postal code is invalid'),
  48.                     'error_registered_email' => $this->l('An account is already registered with this e-mail'),
  49.                     'error_registered_email_guest' => $this->l('This email is already registered, you can login or fill form again.'),
  50.                     'delivery_billing_not_equal' => $this->l('Delivery address alias cannot be the same as billing address alias'),
  51.                     'errors_trying_process_order' => $this->l('The following error occurred while trying to process the order'),
  52.                     'agree_terms_and_conditions' => $this->l('You must agree to the terms of service before continuing.'),
  53.                     'agree_privacy_policy' => $this->l('You must agree to the privacy policy before continuing.'),
  54.                     'fields_required_to_process_order' => $this->l('You must complete the required information to process your order.'),
  55.                     'check_fields_highlighted' => $this->l('Check the fields that are highlighted and marked with an asterisk.'),
  56.                     'error_number_format' => $this->l('The format of the number entered is not valid.'),
  57.                     'oops_failed' => $this->l('Oops! Failed'),
  58.                     'continue_with_step_3' => $this->l('Continue with step 3.'),
  59.                     'email_required' => $this->l('Email address is required.'),
  60.                     'email_invalid' => $this->l('Invalid e-mail address.'),
  61.                     'password_required' => $this->l('Password is required.'),
  62.                     'password_too_long' => $this->l('Password is too long.'),
  63.                     'password_invalid' => $this->l('Invalid password.'),
  64.                     'addresses_same' => $this->l('You must select a different address for shipping and billing.'),
  65.                     'create_new_address' => $this->l('Are you sure you wish to add a new delivery address? You can use the current address and modify the information.'),
  66.                     'cart_empty' => $this->l('Your shopping cart is empty. You need to refresh the page to continue.'),
  67.                     'dni_spain_invalid' => $this->l('DNI/CIF/NIF is invalid.'),
  68.                     'payment_method_required' => $this->l('Please select a payment method to proceed.'),
  69.                     'shipping_method_required' => $this->l('Please select a shipping method to proceed.'),
  70.                     'select_pickup_point' => $this->l('To select a pick up point is necessary to complete your information and delivery address in the first step.'),
  71.                     'need_select_pickup_point' => $this->l('You need to select on shipping a pickup point to continue with the purchase.'),
  72.                     'select_date_shipping' => $this->l('Please select a date for shipping.'),
  73.                     'confirm_payment_method' => $this->l('Confirmation payment'),
  74.                     'to_determinate' => $this->l('To determinate'),
  75.                     'login_customer' => $this->l('Login'),
  76.                     'processing_purchase' => $this->l('Processing purchase'),
  77.                 ],
  78.             ],
  79.         ];
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top