This is actually the WRONG way to fix this error.. The reason for the error is that create_orders.php is making a call to a function that does not exist.. (Hence why it states " Call to undefined function")
You NEED to create the function file I posted instructions for last night so that this function is correctly defined, and UNCOMMENT this line.
While it LOOKS like it's working with this line commented out, create_orders.php is actually not creating your orders correctly and you will see that the product line totals will not display or calculate correctly. The ORDER totals will appear fine, but your product line totals will not.. This function will make sure the currency symbol is inserted into the database for the order so that the product totals appear correctly on your order..




Reply With Quote
