If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Admin Tools / Admin New Order [Support Thread]

Admin New Order [Support Thread]

Started by lhungil on 4 Sep 2012, 2:24 PM · Views: 31,396

Results 1 to 20 of 113
4 Sep 2012, 2:24 PM
#1
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Post #1 by lhungil

Plugin Features
This plugin adds the ability for administrative users to add new orders to Zen Cart from the administrative interface. The interface blends into the existing customer management page with the addition of a single "new orders" button.

After creating a new order, this plugin will send the user to a page for editing orders. Currently this is done through integration with the plugin "Edit Orders 4.x". You will need to install "Edit Orders 4.x" prior to installing this plugin.

  • Can add a new order to an existing customer
  • Adds to the order history a log of the admin user who created the order
  • Can restrict via Admin Profiles

Plugin Requirements
Zen Cart 1.5
PHP 5.x
Edit Orders 4.x

Testing Environments
Step 1: Clean ZC 1.5; Step 2: Install Edit Orders 4.x; Step 3: Install Admin New Order 1.0
Step 1: Clean ZC 1.5; Step 2: Install Admin New Order 1.0; Step 3: Install Edit Orders 4.x
Step 1: Clean ZC 1.5; Step 2: Install Edit Orders 4.x and Admin New Order 1.0
Step 1: Clean ZC 1.5; Step 2: Install Edit Orders 4.x, Admin New Order 1.0, and Admin New Customer 1.0
Step 1: Live ZC 1.5 (many modifications); Step 2: Install Edit Orders 4.x; Step 3: Install Admin New Order 1.0

Disclaimer
Always test new add-ons / plugins / modules first on a non production site.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

25 Sep 2012, 6:33 PM
#2
cherven avatar

cherven

New Zenner

Join Date:
Dec 2008
Location:
Saratoga Springs, NY
Posts:
25
Plugin Contributions:
0

Post #2 by cherven

I receive an error when following these steps:

  1. Create new customer (via admin)
  2. Click on "new order"
  3. Error

It works fine when doing it the following way:

  1. create new account (via storefront)
  2. goto admin -> customers -> customers
  3. select customer
  4. click "new order"
  5. works fine.

Here's the error that displays on screen:
WARNING: An Error occurred, please refresh the page and try again.

Here's the error that displays in the logs:

PHP Fatal error:  1054:Unknown column 'c.customers_firstname' in 'field list' :: SELECT c.customers_firstname, c.customers_lastname, a.entry_company AS billing_company, a.entry_street_address AS billing_street_address, a.entry_suburb AS billing_suburb, a.entry_postcode AS billing_postcode, a.entry_city AS billing_city, a.entry_state AS billing_state, a.entry_country_id FROM `customers_info` AS c LEFT JOIN `address_book` AS a ON c.customers_default_address_id != a.address_book_id WHERE a.customers_id = c.customers_id AND c.customers_id = '5' in /path/to/store/includes/classes/db/mysql/query_factory.php on line 120

My Server Specs:
MySQL Version: MySQL 5.1.62
PHP Version: 5.3.8
Zen-Cart Version: 1.5.1

Any idea as to why this is happening?

25 Sep 2012, 7:04 PM
#3
cherven avatar

cherven

New Zenner

Join Date:
Dec 2008
Location:
Saratoga Springs, NY
Posts:
25
Plugin Contributions:
0

Post #3 by cherven

The problem seems to be caused by customers_info_date_of_last_logon being set to NULL when adding a customer via admin.

Going to see if I can come up with a fix for this.
I'll post once figure it out.

25 Sep 2012, 8:24 PM
#4
cherven avatar

cherven

New Zenner

Join Date:
Dec 2008
Location:
Saratoga Springs, NY
Posts:
25
Plugin Contributions:
0

Post #4 by cherven

I think the problem is related to using the wrong syntax for LEFT JOIN when using MySQL 5.1

Can anyone verify this? I'm not really that good with mysql, and I've been researching but no avail.

25 Sep 2012, 9:05 PM
#5
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Post #5 by lhungil

Release Notes

  • Bugfix: Adds default currency information to the order.
  • Bugfix: Better handling of "state" information based upon zones.
  • Enhancement: Updates core order totals module information (subtotal and total).

This release provides compatibility with Zen Cart 1.5.1.

Additional modified core files
includes/classes/order_total.php: Will now load the correct language files if used in the admin interface.
admin/init_includes/init_currencies.php: Will now load the admin version of currencies.

As usual updated versions of these are present in the zip file.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

25 Sep 2012, 9:15 PM
#6
cherven avatar

cherven

New Zenner

Join Date:
Dec 2008
Location:
Saratoga Springs, NY
Posts:
25
Plugin Contributions:
0

Post #6 by cherven

Where can I get my hands on this?

It doesn't look like it has been approved yet in the plugin's section.

25 Sep 2012, 9:22 PM
#7
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Post #7 by lhungil

For any members of the Zen Cart team, sorry for posting two new versions timed so closely together.

Release Notes
Bugfix: Corrected database table used when selecting a billing address.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

28 Sep 2012, 6:42 AM
#8
vkd1980 avatar

vkd1980

New Zenner

Join Date:
Jul 2012
Location:
Kochi,Kerala
Posts:
58
Plugin Contributions:
2

Post #8 by vkd1980

I am having a Doubt over here,

  1. When Adding Order from Admin Side, How can we Add Shipping ??
  2. Is it possible to let the Customer to select shipping and Payment option to Finish the Order ?

Vinod

28 Sep 2012, 11:32 PM
#9
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Post #9 by lhungil

vkd1980:

  1. When Adding Order from Admin Side, How can we Add Shipping ??

The intent for this module is to be able to create a new blank order record for a customer. For example when a customer calls in an order - or uses a "request quote" form.

Once the blank order record has been created, the order is then passed to a module for editing the order. Currently the module sent to is "Edit Orders" which allows you to add/remove products and order-total lines (for example Shipping).

vkd1980:

  1. Is it possible to let the Customer to select shipping and Payment option to Finish the Order ?

Not with this module. A better way to do this would be to create a module to edit / modify the customer's stored shopping cart. Or simply use something like "encrypted master password" and then log in and "act" on behalf of customer to fill their shopping cart and then log out. This way the next time the customer logs in they could just click on "shopping cart" and then go through the normal checkout process of "Shipping", "Payment", and "Confirmation".

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

1 Oct 2012, 3:12 PM
#10
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Post #10 by lhungil

Release Notes

  • Bugfix: New Order button no longer shows up if installation failed.
  • Bugfix: Uses the address name fields if entered (previously it always used the actual customer name instead of the address name fields).
  • Bugfix: Fixes an issue where the state was not entered into the order fields unless state dropdown menus were used.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

11 Oct 2012, 5:06 PM
#11
canvas101 avatar

canvas101

New Zenner

Join Date:
Apr 2007
Posts:
41
Plugin Contributions:
0

Post #11 by canvas101

Hi,

I hoping one of you experts can assist.

I have installed both the New Order and the Edit Order modules as requested.

When I'm using the module from the admin area Im getting the following errors displaying;

**MODULE_ORDER_TOTAL_SUBTOTAL_TITLE
****MODULE_ORDER_TOTAL_TOTAL_TITLE

**When I go to customers >> new order I get the following errors displaying in yellow across the top of the screen.

WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_subtotal.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_shipping.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_coupon.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_group_pricing.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_tax.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_loworderfee.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_gv.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_total.php

Is anyone able to advise where I might have gone wrong.

Any help would be great.

Many Thanks

James

Domain for reference is https://www.canvas101.us

11 Oct 2012, 5:34 PM
#13
cherven avatar

cherven

New Zenner

Join Date:
Dec 2008
Location:
Saratoga Springs, NY
Posts:
25
Plugin Contributions:
0

Post #13 by cherven

When uploading the files, did you make sure you renamed the proper folders correctly? Also check to see if the files exist.

11 Oct 2012, 6:06 PM
#14
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Post #14 by lhungil

Canvas101:

I have installed both the New Order and the Edit Order modules as requested.

When I'm using the module from the admin area Im getting the following errors ...

Is anyone able to advise where I might have gone wrong.

You missed some steps in the installation. Probably the files from "affected_files_150" or "affected_files_151". Files under "affected_files" are core Zen Cart files which have been modified by this plugin. The "_150" = files for Zen Cart 1.5.0. The "_151" = files for Zen Cart 1.5.1. You need to merge the relevant changes into your Zen Cart install (if your install is stock w/ no changes you can probably just overwrite).

From the README:

===========================================================
INSTALLATION INSTRUCTIONS
===========================================================

1. Copy files from `new_files_15x` to your Zen Cart install.
2a. If you haven't made changes to Zen Cart, Copy and replace files from
`affected_files_<version>` to your Zen Cart install
(<version> is your zen cart version).
2b. If you have made changes to your Zen Cart, you will need to merge your
versions with the changes in `affected_files_<version>`.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

11 Oct 2012, 8:49 PM
#15
canvas101 avatar

canvas101

New Zenner

Join Date:
Apr 2007
Posts:
41
Plugin Contributions:
0

Post #15 by canvas101

Thanks for your replies.

I have re uploaded all the required files and followed all the instructions but still see the;

WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_subtotal.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_shipping.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_coupon.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_group_pricing.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_tax.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_loworderfee.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_gv.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_total.php

The files listed above in the yellow tabs exist on the server, Im confused as to why I'm seeing the error;

MODULE_ORDER_TOTAL_SUBTOTAL_TITLE: £0.00
**MODULE_ORDER_TOTAL_TOTAL_TITLE: **

The effected files have been uploaded again these have been merged prior to uploading as I have changed the original files.

Please advice guys

11 Oct 2012, 9:39 PM
#16
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Post #16 by lhungil

Canvas101:

I have re uploaded all the required files and followed all the instructions but still see ...

From those messages I can see DIR_FS_CATALOG has not been appended to the start of the language path used to load the files.
DIR_FS_CATALOG should contain something like "/var/www/server/store/" or "/public_html/" or "/".

The only way this can happen is if:

  1. You missed a merge on "/includes/classes/order_total.php".
  2. Your "/admin/includes/configure.php" is corrupt (or not working).
  3. You are not running Zen Cart 1.5 (or some modification made to Zen Cart broke core code).

Note lines 34 - 48 from "/includes/classes/order_total.php" in the "affected_files_<version>" folder:

if(IS_ADMIN_FLAG === true) {
  $lang_file = zen_get_file_directory(DIR_FS_CATALOG . DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/order_total/', $value, 'false');
}
else {
  $lang_file = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/order_total/', $value, 'false');
}
if (@file_exists($lang_file)) {
  include_once($lang_file);
} else {
  if (IS_ADMIN_FLAG === false && is_object($messageStack)) {
    $messageStack->add('header', WARNING_COULD_NOT_LOCATE_LANG_FILE . $lang_file, 'caution');
  } else {
    $messageStack->add_session(WARNING_COULD_NOT_LOCATE_LANG_FILE . $lang_file, 'caution');
  }
}

After you merge the changes, your "/includes/classes/order_totals.php" should have a block that looks similar.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

11 Oct 2012, 10:05 PM
#17
canvas101 avatar

canvas101

New Zenner

Join Date:
Apr 2007
Posts:
41
Plugin Contributions:
0

Post #17 by canvas101

Here is what my file looks like.......

<?php /** * File contains the order-totals-processing class ("order-total") * * @package classes * @copyright Copyright 2003-2011 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: order_total.php 19103 2011-07-13 18:10:46Z wilt $ */ /** * order-total class * * Handles all order-total processing functions * * @package classes */ if (!defined('IS_ADMIN_FLAG')) { die('Illegal Access'); } class order_total extends base { var $modules = array(); // class constructor function order_total() { global $messageStack; if (defined('MODULE_ORDER_TOTAL_INSTALLED') && zen_not_null(MODULE_ORDER_TOTAL_INSTALLED)) { $module_list = explode(';', MODULE_ORDER_TOTAL_INSTALLED); reset($module_list); while (list(, $value) = each($module_list)) { // Fixes for when called from ADMIN $lang_file = null; if(IS_ADMIN_FLAG === true) { $lang_file = zen_get_file_directory(DIR_FS_CATALOG . DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/order_total/', $value, 'false'); } else { } $lang_file = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/order_total/', $value, 'false'); if (@file_exists($lang_file)) { include_once($lang_file); } else { if (IS_ADMIN_FLAG === false && is_object($messageStack)) { $messageStack->add('header', WARNING_COULD_NOT_LOCATE_LANG_FILE . $lang_file, 'caution'); } else { $messageStack->add_session(WARNING_COULD_NOT_LOCATE_LANG_FILE . $lang_file, 'caution'); } } $module_file = DIR_WS_MODULES . 'order_total/' . $value; if (@file_exists($module_file)) { include_once($module_file); $class = substr($value, 0, strrpos($value, '.')); $GLOBALS[$class] = new $class; $this->modules[] = $value; } } } } function process() { global $order; $order_total_array = array(); if (is_array($this->modules)) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if (!isset($GLOBALS[$class])) continue; $GLOBALS[$class]->process(); for ($i=0, $n=sizeof($GLOBALS[$class]->output); $i<$n; $i++) { if (zen_not_null($GLOBALS[$class]->output[$i]['title']) && zen_not_null($GLOBALS[$class]->output[$i]['text'])) { $order_total_array[] = array('code' => $GLOBALS[$class]->code, 'title' => $GLOBALS[$class]->output[$i]['title'], 'text' => $GLOBALS[$class]->output[$i]['text'], 'value' => $GLOBALS[$class]->output[$i]['value'], 'sort_order' => $GLOBALS[$class]->sort_order); } } } } return $order_total_array; } function output($return_html=false) { global $template, $current_page_base; $output_string = ''; if (is_array($this->modules)) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); $size = sizeof($GLOBALS[$class]->output); // ideally, the first part of this IF statement should be dropped, and the ELSE portion is all that should be kept if ($return_html == true) { for ($i=0; $i<$size; $i++) { $output_string .= ' <tr>' . "\n" . ' <td align="right" class="' . str_replace('_', '-', $GLOBALS[$class]->code) . '-Text">' . $GLOBALS[$class]->output[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="' . str_replace('_', '-', $GLOBALS[$class]->code) . '-Amount">' . $GLOBALS[$class]->output[$i]['text'] . '</td>' . "\n" . ' </tr>'; } } else { // use a template file for output instead of hard-coded HTML require($template->get_template_dir('tpl_modules_order_totals.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_order_totals.php'); } } } return $output_string; } // // This function is called in checkout payment after display of payment methods. It actually calls // two credit class functions. // // use_credit_amount() is normally a checkbox used to decide whether the credit amount should be applied to reduce // the order total. Whether this is a Gift Voucher, or discount coupon or reward points etc. // // The second function called is credit_selection(). This in the credit classes already made is usually a redeem box. // for entering a Gift Voucher number. Note credit classes can decide whether this part is displayed depending on // E.g. a setting in the admin section. // function credit_selection() { $selection_array = array(); if (is_array($this->modules)) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ($GLOBALS[$class]->credit_class ) { $selection = $GLOBALS[$class]->credit_selection(); if (is_array($selection)) $selection_array[] = $selection; } } } return $selection_array; } // update_credit_account is called in checkout process on a per product basis. It's purpose // is to decide whether each product in the cart should add something to a credit account. // e.g. for the Gift Voucher it checks whether the product is a Gift voucher and then adds the amount // to the Gift Voucher account. // Another use would be to check if the product would give reward points and add these to the points/reward account. // function update_credit_account($i) { if (MODULE_ORDER_TOTAL_INSTALLED) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ( $GLOBALS[$class]->credit_class ) { $GLOBALS[$class]->update_credit_account($i); } } } } // This function is called in checkout confirmation. // It's main use is for credit classes that use the credit_selection() method. This is usually for // entering redeem codes(Gift Vouchers/Discount Coupons). This function is used to validate these codes. // If they are valid then the necessary actions are taken, if not valid we are returned to checkout payment // with an error function collect_posts() { if (MODULE_ORDER_TOTAL_INSTALLED) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ( $GLOBALS[$class]->credit_class ) { $post_var = 'c' . $GLOBALS[$class]->code; if ($_POST[$post_var]) $_SESSION[$post_var] = $_POST[$post_var]; $GLOBALS[$class]->collect_posts(); } } } } // pre_confirmation_check is called on checkout confirmation. It's function is to decide whether the // credits available are greater than the order total. If they are then a variable (credit_covers) is set to // true. This is used to bypass the payment method. In other words if the Gift Voucher is more than the order // total, we don't want to go to paypal etc. // function pre_confirmation_check($returnOrderTotalOnly = FALSE) { global $order, $credit_covers; if (MODULE_ORDER_TOTAL_INSTALLED) { $total_deductions = 0; reset($this->modules); $orderInfoSaved = $order->info; while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ( $GLOBALS[$class]->credit_class ) { $order_total = $GLOBALS[$class]->get_order_total(isset($_SESSION['cc_id']) ? $_SESSION['cc_id'] : ''); if (is_array($order_total)) $order_total = $order_total['total']; $deduction = $GLOBALS[$class]->pre_confirmation_check($order_total); $total_deductions = $total_deductions + $deduction; // echo 'class = ' . $class . "<br>"; // echo 'order-total = ' . $order_total . "<br>"; // echo 'deduction = ' . $deduction . "<br>"; } else { $GLOBALS[$class]->process(); $GLOBALS[$class]->output = array(); } } $calculatedOrderTotal = $order->info['total']; $order->info = $orderInfoSaved; // echo "orderTotal = {$order->info['total']}"; // echo "TotalDeductions = {$total_deductions}"; // do not set when Free Charger is being used $difference = $order->info['total'] - $total_deductions; if ( $difference <= 0.009 && $_SESSION['payment'] != 'freecharger') { $credit_covers = true; } if ($returnOrderTotalOnly == TRUE) return $calculatedOrderTotal; } } // this function is called in checkout process. it tests whether a decision was made at checkout payment to use // the credit amount be applied aginst the order. If so some action is taken. E.g. for a Gift voucher the account // is reduced the order total amount. // function apply_credit() { if (MODULE_ORDER_TOTAL_INSTALLED) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ( $GLOBALS[$class]->credit_class) { $GLOBALS[$class]->apply_credit(); } } } } // Called in checkout process to clear session variables created by each credit class module. // function clear_posts() { global $_POST; if (MODULE_ORDER_TOTAL_INSTALLED) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ( $GLOBALS[$class]->credit_class && method_exists($GLOBALS[$class], 'clear_posts')) { $GLOBALS[$class]->clear_posts(); } } } } // Called at various times. This function calulates the total value of the order that the // credit will be applied against. This varies depending on whether the credit class applies // to shipping & tax // function get_order_total_main($class, $order_total) { global $credit, $order; // if ($GLOBALS[$class]->include_tax == 'false') $order_total=$order_total-$order->info['tax']; // if ($GLOBALS[$class]->include_shipping == 'false') $order_total=$order_total-$order->info['shipping_cost']; return $order_total; } } the block of code is present.....not sure what is wrong
11 Oct 2012, 10:21 PM
#18
canvas101 avatar

canvas101

New Zenner

Join Date:
Apr 2007
Posts:
41
Plugin Contributions:
0

Post #18 by canvas101

Ok,

Looks like a left out a line of code from my merge file as above....

added the following code //include(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/order_total/' . $value);
and all is now working.

Thanks for all you help.

12 Oct 2012, 12:33 AM
#19
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Post #19 by lhungil

No problem, glad you were able to get everything working!

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

30 Oct 2012, 5:06 PM
#20
relish avatar

relish

New Zenner

Join Date:
Jun 2012
Posts:
33
Plugin Contributions:
0

Post #20 by relish

On Zencart 1.5.0 with a **working **Edit order 4.0.3
We are getting this error when clicking 'new order' from Admin Home -> Customers -> Customers :

> Server error

The website encountered an error while retrieving http://localhost/XXXXXX/new_order.php?cID=222&action=new. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.


The link shown in the address bar is:
http://localhost/XXXXXX/new_order.php?cID=222&action=new