Results 61 to 70 of 122

Threaded View

  1. #11
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Admin Simple Create Order Support Thread

    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..

    Quote Originally Posted by bluedotted View Post
    According to the debugger this shows in it

    [27-Nov-2010 20:50:23] PHP Fatal error: Call to undefined function zen_get_currency_value() in /home/xxxxxxx/public_html/xxxxxx/create_order.php on line 84
    Quote Originally Posted by bluedotted View Post
    Seems commenting this out around line 72 did the trick, finally

    Edit code below

    Code:
    'currency_value' => zen_get_currency_value(DEFAULT_CURRENCY),
    to

    Code:
    //'currency_value' => zen_get_currency_value(DEFAULT_CURRENCY),
    Last edited by DivaVocals; 28 Nov 2010 at 06:23 AM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

Similar Threads

  1. v150 Admin New Order [Support Thread]
    By lhungil in forum Addon Admin Tools
    Replies: 121
    Last Post: 5 Feb 2021, 07:51 PM
  2. Admin Simple Create Order
    By stesouthby in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Mar 2011, 02:35 PM
  3. Admin Simple Create Order
    By dmm2020 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 Nov 2010, 04:26 PM
  4. Re: Simple SEO URL [support thread]
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2009, 03:02 PM
  5. [Support Thread] Simple Video Manager
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 1 Nov 2008, 02:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg