View Single Post
  #3  
Old 05-29-2017, 08:19 PM
  dagdag's Avatar 
dagdag dagdag is offline
 

Advanced Member
  
Join Date: Sep 2014
Location: Volgograd
Posts: 81
 

Default Re: How call external stored procedure before page /?target=checkout loaded?

Quote:
However, you can use "Native Queries" to run raw SQL queries against the database:

\XLite\Core\Database::getEM()->getConnection()->executeQuery('YOUR RAW SQL QUERY GOES THERE');

Does this work?
Yes! It works fine! MySQL store procedures (and functions too!) called from x-cart and run without errors.
You are my god! Thank!
__________________
my wife's shop