/** * Custom variables for the checkout module. Custom variables are stored in the following format: * array(variable_id, variable_name, variable_type, help_text, default_value, required, [variable_options], [multi_select], [multi_select_height]) * variable_type types are: text,number,password,radio,dropdown * variable_options is used when the variable type is radio or dropdown and is a name/value array. */ public function SetCustomVars() { $this->_variables['displayname'] = array("name" => "Display Name", "type" => "textbox", "help" => GetLang('DisplayNameHelp'), "default" => $this->GetName(), "required" => true ); $this->_variables['availablecountries'] = array("name" => "Available Countries", "type" => "dropdown", "help" => GetLang('ChequeAvailableCountriesHelp'), "default" => "all", "required" => true, "options" => GetCountryListAsNameValuePairs(), "multiselect" => true ); $this->_variables['helptext'] = array("name" => "Payment Information", "type" => "textarea", "help" => GetLang('ChequePaymentInformationHelp'), "default" => "Type instructions to pay by cheque in here.", "required" => true, "rows" => 7 ); }
/** * Custom variables for the checkout module. Custom variables are stored in the following format: * array(variable_id, variable_name, variable_type, help_text, default_value, required, [variable_options], [multi_select], [multi_select_height]) * variable_type types are: text,number,password,radio,dropdown * variable_options is used when the variable type is radio or dropdown and is a name/value array. */ public function SetCustomVars() { $this->_variables['displayname'] = array("name" => GetLang('BPAYDisplayName'), "type" => "textbox", "help" => GetLang('DisplayNameHelp'), "default" => $this->GetName(), "required" => true); $this->_variables['billercode'] = array("name" => GetLang('BPAYBillerCode'), "type" => "textbox", "help" => GetLang('BPAYBillerCodeHelp'), "default" => "", "required" => true); $this->_variables['availablecountries'] = array("name" => GetLang('BPAYAvailableCountries'), "type" => "dropdown", "help" => GetLang('BPAYAvailableCountriesHelp'), "default" => "all", "required" => true, "options" => GetCountryListAsNameValuePairs(), "multiselect" => true); }
/** * Custom variables for the checkout module. Custom variables are stored in the following format: * array(variable_id, variable_name, variable_type, help_text, default_value, required, [variable_options], [multi_select], [multi_select_height]) * variable_type types are: text,number,password,radio,dropdown * variable_options is used when the variable type is radio or dropdown and is a name/value array. */ public function SetCustomVars() { $this->_variables['displayname'] = array("name" => "Display Name", "type" => "textbox", "help" => GetLang('DisplayNameHelp'), "default" => $this->GetName(), "required" => true ); $this->_variables['availablecountries'] = array("name" => "Available Countries", "type" => "dropdown", "help" => GetLang('CODAvailableCountriesHelp'), "default" => "all", "required" => true, "options" => GetCountryListAsNameValuePairs(), "multiselect" => true ); $this->_variables['helptext'] = array("name" => "Delivery Information", "type" => "textarea", "help" => GetLang('CODDeliveryInformationHelp'), "default" => "Bạn sẽ thanh toán khi nhận được hàng chuyển đến địa chỉ mua hàng của bạn..", "required" => true, "rows" => 7 ); }
/** * Custom variables for the checkout module. Custom variables are stored in the following format: * array(variable_id, variable_name, variable_type, help_text, default_value, required, [variable_options], [multi_select], [multi_select_height]) * variable_type types are: text,number,password,radio,dropdown * variable_options is used when the variable type is radio or dropdown and is a name/value array. */ public function SetCustomVars() { $this->_variables['displayname'] = array("name" => "Display Name", "type" => "textbox", "help" => GetLang('DisplayNameHelp'), "default" => $this->GetName(), "required" => true ); $this->_variables['availablecountries'] = array("name" => "Available Countries", "type" => "dropdown", "help" => GetLang('InStoreAvailableCountriesHelp'), "default" => "all", "required" => true, "options" => GetCountryListAsNameValuePairs(), "multiselect" => true ); $this->_variables['helptext'] = array("name" => "Payment Information", "type" => "textarea", "help" => GetLang('InStorePaymentInformationHelp'), "default" => "Bạn vui lòng đến cửa hàng để thanh toán và nhận hàng..", "required" => true, "rows" => 7 ); }
/** * Custom variables for the checkout module. Custom variables are stored in the following format: * array(variable_id, variable_name, variable_type, help_text, default_value, required, [variable_options], [multi_select], [multi_select_height]) * variable_type types are: text,number,password,radio,dropdown * variable_options is used when the variable type is radio or dropdown and is a name/value array. */ public function SetCustomVars() { $this->_variables['displayname'] = array("name" => "Display Name", "type" => "textbox", "help" => GetLang('DisplayNameHelp'), "default" => $this->GetName(), "required" => true ); $this->_variables['availablecountries'] = array("name" => "Available Countries", "type" => "dropdown", "help" => GetLang('BankDepositAvailableCountriesHelp'), "default" => "all", "required" => true, "options" => GetCountryListAsNameValuePairs(), "multiselect" => true ); $this->_variables['helptext'] = array("name" => "Account Information", "type" => "textarea", "help" => GetLang('BankDepositAccountInformationHelp'), "default" => "Tên ngân hàng: XXXX Bank\nChi nhánh: New York\nTên tài khoản: John Smith\nMã số tài khoản: XXXXXXXXXXXX\n\nNhập thêm thông tin vào đây.", "required" => true, "rows" => 7 ); }
/** * Custom variables for the checkout module. Custom variables are stored in the following format: * array(variable_id, variable_name, variable_type, help_text, default_value, required, [variable_options], [multi_select], [multi_select_height]) * variable_type types are: text,number,password,radio,dropdown * variable_options is used when the variable type is radio or dropdown and is a name/value array. */ public function SetCustomVars() { $this->_variables['displayname'] = array("name" => GetLang('BPAYDisplayName'), "type" => "textbox", "help" => GetLang('DisplayNameHelp'), "default" => $this->GetName(), "required" => true ); $this->_variables['billercode'] = array("name" => GetLang('BPAYBillerCode'), "type" => "textbox", "help" => GetLang('BPAYBillerCodeHelp'), "default" => "", "required" => true, ); $this->_variables['availablecountries'] = array("name" => GetLang('BPAYAvailableCountries'), "type" => "dropdown", "help" => GetLang('BPAYAvailableCountriesHelp'), "default" => "all", "required" => true, "options" => GetCountryListAsNameValuePairs(), "multiselect" => true ); $this->_variables['padlength'] = array("name" => GetLang('BPAYPadLength'), "type" => "dropdown", "help" => GetLang('BPAYPadLengthHelp'), "default" => 10, "required" => true, "size" => 2, "options" => array(5 => 5,6 => 6,7 => 7,8 => 8,9 => 9,10 => 10) ); $this->_variables['referenceprefix'] = array("name" => GetLang('BPAYReferencePrefix'), "type" => "textbox", "help" => GetLang('BPAYReferencePrefixHelp'), "default" => "", "required" => false, "size" => 2 ); }
/** * Custom variables for the checkout module. Custom variables are stored in the following format: * array(variable_id, variable_name, variable_type, help_text, default_value, required, [variable_options], [multi_select], [multi_select_height]) * variable_type types are: text,number,password,radio,dropdown * variable_options is used when the variable type is radio or dropdown and is a name/value array. */ public function SetCustomVars() { $this->_variables['displayname'] = array("name" => "Display Name", "type" => "textbox", "help" => GetLang('DisplayNameHelp'), "default" => $this->GetName(), "required" => true); $this->_variables['availablecountries'] = array("name" => "Available Countries", "type" => "dropdown", "help" => GetLang('BankDepositAvailableCountriesHelp'), "default" => "all", "required" => true, "options" => GetCountryListAsNameValuePairs(), "multiselect" => true); $this->_variables['helptext'] = array("name" => "Account Information", "type" => "textarea", "help" => GetLang('BankDepositAccountInformationHelp'), "default" => "Bank Name: ACME Bank\nBank Branch: New York\nAccount Name: John Smith\nAccount Number: XXXXXXXXXXXX\n\nType any special instructions in here.", "required" => true, "rows" => 7); }