Community Sponsor
  • Content count

  • Joined

  • Last visited

  • Days Won


raiwa last won the day on May 8

raiwa had the most liked content!

Community Reputation

230 Excellent

About raiwa

Profile Information

  • Real Name
    Rainer Schmied
  • Gender
  • Location
    Sant Iscle de Vallalta, Barcelona, Spain

Contact Methods

  1. @@Mikepo, it's for security reason to filter sql injection attempts.
  2. Hello @@DivebombInc, I just tried with 2.3.4 BS and I can use all of these: ª!"·$%&/()=áéúóöç Which concrete characters would not work on your store? The only combinations which will be replaced are these you can see in the tep_sanitize function in includes/functions/general.php: function tep_sanitize_string($string) { $patterns = array ('/ +/','/[<>]/'); $replace = array (' ', '_'); return preg_replace($patterns, $replace, trim($string)); } rgds Rainer
  3. @@Lioelx, please install the product info options module. rgds Rainer
  4. Dobar dan @@goyan, First you need to add $shipping to the global list: function update_status() { global $order, $shipping; Then the conditions looks like this: if ($this->enabled == true) { if ($order->content_type == 'virtual' || $shipping['id'] != 'spu_spu' || $order->info['subtotal'] > 500 ) { $this->enabled = false; pozdrav Rainer
  5. @@goyan, first condition can be achieved with the ship2pay add-on: http://addons.oscommerce.com/info/8419 Or could be custom coded into the COD module. The second condition would need to be custom coded to the COD module. Have a look into the module. You could define the additional conditions in this section: // disable the module if the order only contains virtual products if ($this->enabled == true) { if ($order->content_type == 'virtual') { $this->enabled = false; } } rgds Rainer
  6. @@joe122joe, should work both, one is legacy change for old stores another is core code of new edge version which include hooks. Doesn't matter. For all other people using QTPRo it works. I gave you all information you need to investigate what's wrong. I can't loose more time asking 3 times for details. Follow instructions, fix your wrong DIR_FS_CATALOG definition, do the test trick with the die command in the hook until your checkout_process.php shows a blank page. Then remove the die command and substractions should work. FULL STOP
  7. @@joe122joe, then your DIR_FS_CATALOG definition in configuration.php must be wrong. So you say that you did all steps, but you changed steps on your own criteria and wonder that something dosn't work. You should have begin your very first post providing this information. I give up, sorry.
  8. @@joe122joe, when did you get this, after the change in application_top.php? please try to be precise and give good information, otherwise I'll give up soon. :-(
  9. @@joe122joe, you may have added the code for hooks inclusion to application_top.php BEFORE you had copied the hook class. This would explain the error.
  10. @@joe122joe, if you get a blank page on the whole site, this means that you get a fatal php error. It's not done then to just not add that code. You need to find out which php error is produced and why. Edit your error log file to see the error and post it. Then we can help.
  11. @@joe122joe, I'm sorry, but I do not understand now, you say it's the same checkout_process.php with the hook register line in place. But you said you didn't get the blank page (with the die command added in the hook function). Now you said you get a blank page when you add the hook register. Please try to give more precise information. Also: Did you all installation steps for the hook support, also the modification in application_top.php. I'm sorry it's very difficult or impossible to give support without precise, complete and consistent information. rgds Rainer
  12. @@joe122joe, I suppose you did Installation Step: 0. Legacy (for older 2.3.4 BS versions whithout hooks). Database table names and filenames are no problem for downward compatibility to older versions.
  13. @@joe122joe, of course, this is essential, now the stock subtraction should work. But you had this modifcation in your modified checkout_process.php you posted before!
  14. @@joe122joe, This has nothing to do with the issues dicussed for older versions. Older versions didn't use hooks. The problem is that the qtpro hooks are not loaded in checkout_process.php. I can't say why, but if you solve this problem it will work. rgds Rainer
  15. @@joe122joe, Please confirm that you did the test with COD payment. Then the qtpro hooks are not correct installed and not included in the checkout_process.php. Even you did all code changes in checkout_process.php, something else is missing. Please recheck the changes in application_top.php for the inclusion of the lines: require('includes/classes/hooks.php'); $OSCOM_Hooks = new hooks('shop'); Then check if you have the following class in place: includes/classes/hooks.php If all is correct installed, you must get the blank page in checkout_process.php when the die command is added like explained in the last post. rgds Rainer