Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

BenCox

Pioneers
  • Posts

    8
  • Joined

  • Last visited

Everything posted by BenCox

  1. Hello Everyone, I have been working on a modification of ultimate seo urls that will allow up to three get vars to be rewritten in the url. It will work in the same way as the standard ultimate seo urls however if you configure the page module correctly you will be able to specify three get vars to be rewritten instead of the standard one. At the minute my code outputs the url from tep_hre_link in the manner i want it to however when you visit the link it redirects to a standard ultimate seo urls url (one get var) because of the validator function. Does anybody know where i can modify the output of: $new_url = htmlspecialchars_decode( tep_href_link( Usu_Main::i()->getVar( 'filename' ), Usu_Main::i()->getVar( 'request_querystring' ) ) ); Has anybody tried doing this before succesfully?
  2. Hello All, I am working on a addon for oscommerce in which an admin panel operator will be able to import a quote from an xml file which the customer had attached to a email which has been previously sent to them. The addon is very near completion however I have one small problem , I need to fire the one page checkout javascript events that check the address details are all present and then display the shipping and payment methods. Could somebody please help me locate the specific function? As I said it is a one page checkout function. Thanks for reading.
  3. I had a problem where if I made a user account through the one page checkout form, the user could not log in on there return to the website, this was because one page checkout does not set the customer status to true. The fix is below: open onepage_checkout.php in includes/classes. find on line 1122: $sql_data_array = array( 'customers_firstname' => $onepage['billing']['firstname'], 'customers_lastname' => $onepage['billing']['lastname'], 'customers_email_address' => $onepage['customer']['email_address'], 'customers_telephone' => $onepage['customer']['telephone'], 'customers_fax' => $onepage['customer']['fax'], 'customers_newsletter' => $onepage['customer']['newsletter'], 'customers_password' => tep_encrypt_password($onepage['customer']['password']) ); replace with: $sql_data_array = array( 'customers_firstname' => $onepage['billing']['firstname'], 'customers_lastname' => $onepage['billing']['lastname'], 'customers_email_address' => $onepage['customer']['email_address'], 'customers_telephone' => $onepage['customer']['telephone'], 'customers_fax' => $onepage['customer']['fax'], 'customers_newsletter' => $onepage['customer']['newsletter'], 'customers_status' => '1', 'customers_password' => tep_encrypt_password($onepage['customer']['password']) );
×
×
  • Create New...