Jump to content

sander010587

Members
  • Content count

    18
  • Joined

  • Last visited

Everything posted by sander010587

  1. sander010587

    One Page Checkout Support

    thanks for your reply steve but I already got it fixed. It was a problem at MultiSafePay with the account, not a problem of mine. It is fixed now and working :rolleyes:
  2. sander010587

    One Page Checkout Support

    Hey, I am having the following issue regarding this contribution: I have installed the MultiSafePay payment module but when I Click the continue button at the checkout page I am not directed towards the MultiSafePay site to complete the payment. Does anyone know what the problem is and how to fix it? I have this Multisafepay add-on: http://addons.oscommerce.com/info/6195 I installed this multisafepay on different sites and know how to set it up so I don't think the problem is in the setup. Greetings Sander
  3. I figured out my own problem :rolleyes: going to admin/index.php and clicking file access will get you to a page were you are able to install your contribution you manually added. So enabling header tags, QTPro, Vouchers/coupons etc... cheers
  4. can be used just read my above post. And of course make all the other regular edits...
  5. yeah I got it working on rc2 version. This is what I did: copy the top of the index.php file which is located in the contribution. With top I mean the following part: // BOF: KategorienAdmin / OLISWISS if ($login_groups_id != 1) { tep_redirect(tep_href_link(FILENAME_CATEGORIES, '')); } // BOF: KategorienAdmin / OLISWISS // BOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 1 of 10 // uncomment below line to disable this contribution // $cat = array(array('title' => BOX_HEADING_CONFIGURATION, // comment below lines to disable this contribution $cat = array(array('title' => BOX_HEADING_ADMINISTRATOR, 'access' => tep_admin_check_boxes('administrator.php'), 'image' => 'administrator.gif', 'href' => tep_href_link(tep_selected_file('administrator.php'), 'selected_box=administrator'), 'children' => array(array('title' => BOX_ADMINISTRATOR_MEMBER, 'link' => tep_href_link(FILENAME_ADMIN_MEMBERS, 'selected_box=administrator'), 'access' => tep_admin_check_boxes(FILENAME_ADMIN_MEMBERS, 'sub_boxes')), array('title' => BOX_ADMINISTRATOR_BOXES, 'link' => tep_href_link(FILENAME_ADMIN_FILES, 'selected_box=administrator'), 'access' => tep_admin_check_boxes(FILENAME_ADMIN_FILES, 'sub_boxes')))), array('title' => BOX_HEADING_MY_ACCOUNT, 'access' => 'true', 'image' => 'my_account.gif', 'href' => tep_href_link(FILENAME_ADMIN_ACCOUNT), 'children' => array(array('title' => HEADER_TITLE_ACCOUNT, 'link' => tep_href_link(FILENAME_ADMIN_ACCOUNT), 'access' => 'true'), array('title' => HEADER_TITLE_LOGOFF_ADMIN, 'link' => tep_href_link(FILENAME_LOGOFF_ADMIN), 'access' => 'true'))), array('title' => BOX_HEADING_CONFIGURATION, 'access' => tep_admin_check_boxes('configuration.php'), // EOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 1 of 10 'image' => 'configuration.gif', 'href' => tep_href_link(FILENAME_CONFIGURATION, 'selected_box=configuration&gID=1'), 'children' => array(array('title' => BOX_CONFIGURATION_MYSTORE, 'link' => tep_href_link(FILENAME_CONFIGURATION, 'selected_box=configuration&gID=1')), array('title' => BOX_CONFIGURATION_LOGGING, 'link' => tep_href_link(FILENAME_CONFIGURATION, 'selected_box=configuration&gID=10')), array('title' => BOX_CONFIGURATION_CACHE, 'link' => tep_href_link(FILENAME_CONFIGURATION, 'selected_box=configuration&gID=11')))), array('title' => BOX_HEADING_MODULES, // BOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 2 of 10 // comment out below line to disable this contribution 'access' => tep_admin_check_boxes('modules.php'), // EOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 2 of 10 'image' => 'modules.gif', 'href' => tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=payment'), 'children' => array(array('title' => BOX_MODULES_PAYMENT, 'link' => tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=payment')), array('title' => BOX_MODULES_SHIPPING, 'link' => tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=shipping')))), array('title' => BOX_HEADING_CATALOG, // BOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 3 of 10 // comment out below line to disable this contribution 'access' => tep_admin_check_boxes('catalog.php'), // EOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 3 of 10 'image' => 'catalog.gif', 'href' => tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog'), 'children' => array(array('title' => CATALOG_CONTENTS, 'link' => tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog')), array('title' => BOX_CATALOG_MANUFACTURERS, 'link' => tep_href_link(FILENAME_MANUFACTURERS, 'selected_box=catalog')))), array('title' => BOX_HEADING_LOCATION_AND_TAXES, // BOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 4 of 10 // comment out below line to disable this contribution 'access' => tep_admin_check_boxes('taxes.php'), // EOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 4 of 10 'image' => 'location.gif', 'href' => tep_href_link(FILENAME_COUNTRIES, 'selected_box=taxes'), 'children' => array(array('title' => BOX_TAXES_COUNTRIES, 'link' => tep_href_link(FILENAME_COUNTRIES, 'selected_box=taxes')), array('title' => BOX_TAXES_GEO_ZONES, 'link' => tep_href_link(FILENAME_GEO_ZONES, 'selected_box=taxes')))), array('title' => BOX_HEADING_CUSTOMERS, 'image' => 'customers.gif', 'href' => tep_href_link(FILENAME_CUSTOMERS, 'selected_box=customers'), 'children' => array(array('title' => BOX_CUSTOMERS_CUSTOMERS, 'link' => tep_href_link(FILENAME_CUSTOMERS, 'selected_box=customers')), array('title' => BOX_CUSTOMERS_ORDERS, 'link' => tep_href_link(FILENAME_ORDERS, 'selected_box=customers')))), array('title' => BOX_HEADING_LOCALIZATION, // BOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 6 of 10 // comment out below line to disable this contribution 'access' => tep_admin_check_boxes('localization.php'), // EOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 6 of 10 'image' => 'localization.gif', 'href' => tep_href_link(FILENAME_CURRENCIES, 'selected_box=localization'), 'children' => array(array('title' => BOX_LOCALIZATION_CURRENCIES, 'link' => tep_href_link(FILENAME_CURRENCIES, 'selected_box=localization')), array('title' => BOX_LOCALIZATION_LANGUAGES, 'link' => tep_href_link(FILENAME_LANGUAGES, 'selected_box=localization')))), array('title' => BOX_HEADING_REPORTS, // BOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 7 of 10 // comment out below line to disable this contribution 'access' => tep_admin_check_boxes('reports.php'), // EOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 7 of 10 'image' => 'reports.gif', 'href' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports'), 'children' => array(array('title' => REPORTS_PRODUCTS, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports')), array('title' => REPORTS_ORDERS, 'link' => tep_href_link(FILENAME_STATS_CUSTOMERS, 'selected_box=reports')))), array('title' => BOX_HEADING_TOOLS, // BOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 8 of 10 // comment out below line to disable this contribution 'access' => tep_admin_check_boxes('tools.php'), // EOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 8 of 10 'image' => 'tools.gif', 'href' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools'), 'children' => array(array('title' => TOOLS_BACKUP, 'link' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools')), array('title' => TOOLS_BANNERS, 'link' => tep_href_link(FILENAME_BANNER_MANAGER, 'selected_box=tools')), array('title' => TOOLS_FILES, 'link' => tep_href_link(FILENAME_FILE_MANAGER, 'selected_box=tools'))))); put it between: require('includes/application_top.php'); $languages = tep_get_languages(); Then the next great difference is located in includes/application_top.php there is a function which enables redirect but you have to disable it because you have a different login system: /* if (!tep_session_is_registered('admin')) { $redirect = false; $current_page = basename($PHP_SELF); if ($current_page != FILENAME_LOGIN) { if (!tep_session_is_registered('redirect_origin')) { tep_session_register('redirect_origin'); $redirect_origin = array('page' => $current_page, 'get' => $HTTP_GET_VARS); } $redirect = true; } if ($redirect == true) { tep_redirect(tep_href_link(FILENAME_LOGIN)); } unset($redirect); } */ as you can see i placed the /* and */ to edit it out. Now you are able to login. Only problem is that you don't see anything in column left. So I put the old Column_left.php file back and then it works. People who haven't got access can see all the pages in column_left but they can't access them anyway so it isn't a real problem for me. I haven't tested everything yet but it is working okay so far. Only problem I am facing now is that I have header_tags and information pages unlimited installed and QtPro stock and can't access them. anyone knows if he/she can help me with adding additional packages to work with this contribution. how to make headertags work... because the menu won't let me access it. greetings Sander
  6. sander010587

    One Page Checkout Support

    Okay, it is your choice. I can only say that installing the module which is specially created to work with one page checkout is easier to install and you can disable the vouchers in your admin. I only use the discount coupons... cheers
  7. sander010587

    One Page Checkout Support

    I found a solution I disabled (line 106 in my checkout.php) //$onePageCheckout->fixTaxes(); and in checkout_process.php line 77 //$onePageCheckout->fixTaxes(); now it is showing the correct amount. Does anyone know if this has major consequences for other things? I am not using the recalculate tax or something. greetings Sander
  8. sander010587

    One Page Checkout Support

    the voucher module includes a discount module. I don't know if it works with your other discount coupon codes but why do you want 2 discount modules? I think best is that you try it on a testserver and see... greetings Sander
  9. sander010587

    One Page Checkout Support

    hey steve, thanks for your reaction. I have the following order: 1 sub total 2 shipping 3 tax 4 gift voucher 5 discount coupons 6 total I also tried putting tax after gift voucher and discount coupons but it doesn't change(which is good because I don't have discount on tax enabled). anyone have an idea how to fix this? greetings Sander
  10. sander010587

    One Page Checkout Support

    Discount Coupons is also installed when you install the vouchers module (it is the same module with 2 options). I have another question btw: If I use taxes it is calculated wrong. If I disable one page checkout and go to the checkout pages the taxes are calculated right but if I enable one page checkout it is calculated wrong. Example: taxable good 6% price: 10 euro's (including tax) without tax it is 9,40 If I go to the checkout page it is showing: Sub-Total: € 10,00 Shipping: € 5,00 Tax-low: € 1,13 Discount Coupons:test: -€ 5,00 Total: € 10,00 The total is calculated correct but the tax isn't right it should be around 0,60 cents
  11. sander010587

    One Page Checkout Support

    hey, thanks for your reply. I also tried: if (tep_session_is_registered('customer_id')){ echo tep_address_label($customer_id, $sendto, true, ' ', '<br>'); }else{ but it doesn't seem to be working. If I echo the $sendto I notice it is empty. Does anyone know where the $sendto in the session is created or changed because I think there lays the problem? greetings Sander
  12. sander010587

    One Page Checkout Support

    Hi, first of al thanks for the contribution it looks and works nice. I have a minor issue: the shipping address is not filled in automatically. There are just 2 or 3 blank rules and a comma. I looked into checkout/shipping_address.php and found: if (isset($_SESSION['customer_id'])){ echo tep_address_label($_SESSION['customer_id'], $_SESSION['sendto'], true, ' ', '<br>'); }else{.... funny thing is if I echo $_SESSION['sendto'] it is empty, when I echo $_SESSION['billto'] it is showing 16. I only have one address created on that account so it should be showing that address right? I have it now fixed by replacing "sendto" to "billto" but this isn't really a good solution. It looks like the shipping address is not chosen automatically because when I make an order the shipping address is not shown in the email. Is there anybody able to help me? Greetings Sander
×