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.
The issue you are having is that the sort order of the super_invoice.php and super_packinslips.php are not controlled in these files (and the Super Orders versions work EXACTLY like their default cousins)
Try searching the forum for:
Search: Keyword(s): sort, packingslip, model
I found three threads that look promising.. Good luck..![]()
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.
Ahhh...........better key words.............that's all I needed. Thanks Diva!
Anyway, if anybody else ever needed this done, Admin/classes/order.php, find
line 121 and change to:
order by products_model
Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!
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.
So now that I looked at the mod I THINK you are using (there are several PO add-ons), I don't completely understand your question..
The workflow supported by Super Orders' currently included PO module is the standard practice used by most businesses who issue POs and businesses who accept POs..
- Invoice/Estimate received
- Invoice/Estimate is routed to customer's accounting department
- Accounting issues PO
- Customer provides PO data to vendor
- Vendor processes the order
- Vendor bill customer
In the standard flow, vendors do not receive POs until AFTER an order has been placed. The reason is simple. Their customers generally need to get the final total and an invoice/estimate from the vendor that they will route to their accounting department BEFORE issuing a PO to a vendor. (unless it is a blanket PO being issued - meaning it will be applied to multiple invoices until the PO is out of funds, and a new blanket PO will be issued).
Your workflow assumes that the amount of the estimate is known BEFORE the order is placed.. This is not a standard accounting workflow with regards to POs and their use in MOST businesses.
However, the add-on I THINK you are using captures PO numbers at checkout which seems to accommodate your desired workflow.. So I'm not sure why you think the PO module that comes with Super Orders should be updated to have the same functionality?? (capture PO numbers at checkout??)
It seems that both workflows need to be supported and there are already TWO payment modules which handle POs both BEFORE and AFTER the order is placed..
Last edited by DivaVocals; 28 Apr 2011 at 04:59 PM.
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.
Server OS: Linux 2.6.35.8-nx
PHP Version: 5.2.17 (Zend: 2.2.0)
Database: MySQL 4.1.22-standard-log
Zen Cart 1.3.9h
Database Patch Level: 1.3.9h
v1.3.9h [2011-03-18 22:41:21] (Fresh Installation)
v1.3.9h [2011-03-18 22:41:21] (Fresh Installation)
Super Orders 3.0
Language English/Japanese
I installed successfully and am pleased but note two issues.
1) Manage Payment Types
This displays in English but does not in Japanese. The English side allows me to enter both languages. Not sure why it does not display when admin is in Japanese language.
2) Clicking the "Print" button in the "Orders Listing" page results in a new blank window being opened. No data appears in the new window.
Craig
Additinal language support for payment types does not work (never has).. No idea when this will be addressed as I understand WHAT it does, but not how to fix it.. I do have a fairly decent woraround included in the upcoming release..
As for the data sheet issue, there is a fix posted in this support thread.. Please do a search in this support thread to locate this fix.
Posted via Mobile Device
Thanks for the info. Couple of other things I noticed in the Configuration of Super Orders. 4 settings, Auto Comments - Payments, Auto Comments - P.O. Payment, Auto Comments - Purchase Order, and Auto Comments - Refund, do not have settings for other languages. If you change the wording in one language then all the other languages will use the same text.
Super Orders is based on a custom module written for a US client. Super Orders 3 is based on this original code with improvements as noted in the readme.. Hence support for additional languages is lacking in MANY areas of the add-on.. ALL of these areas would required re-writes to support additional languages.. These re-writes are over my paygrade to tackle.. But it's open source and if a community member were to tackle this, and be willing to share it, I'd be happy to add it to the codebase..
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.
So it's time I contributed something to this magnificent project. I have made some code changes to make the invoice multilingual.
in YOUR_ADMIN_FOLDER\includes\super_invoice find rule 268
and replace with:PHP Code:
<?php
for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
$display_title = $order->totals[$i]['title'];
echo ' <tr>' . "\n" .
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Text">' . $display_title . '</td>' . "\n" .
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .
' </tr>' . "\n";
$order_total = $order->totals[$i]['text'];
}
echo ' <tr>' . "\n" .
' <td class="dataTableContent" align="right" valign="top"><strong>Amount Paid:</strong></td>' . "\n" .
' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($so->amount_applied) . '</strong></td>' . "\n" .
' </tr>' . "\n";
echo ' <tr>' . "\n" .
' <td class="dataTableContent" align="right" valign="top"><strong>Balance Due:</strong></td>' . "\n" .
' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($so->balance_due) . '</strong></td>' . "\n" .
' </tr>' . "\n";
?>
In the language file YOUR_ADMIN_FOLDER\includes\languages\YOUR_LANGUAGE\super_invoice.php add two definesPHP Code:
<?php
for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
$display_title = $order->totals[$i]['title'];
echo ' <tr>' . "\n" .
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Text">' . $display_title . '</td>' . "\n" .
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .
' </tr>' . "\n";
$order_total = $order->totals[$i]['text'];
}
echo ' <tr>' . "\n" .
' <td class="dataTableContent" align="right" valign="top"><strong>'. ENTRY_AMOUNT_APPLIED.'</strong></td>' . "\n" .
' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($so->amount_applied) . '</strong></td>' . "\n" .
' </tr>' . "\n";
echo ' <tr>' . "\n" .
' <td class="dataTableContent" align="right" valign="top"><strong>'. ENTRY_BALANCE_DUE.'</strong></td>' . "\n" .
' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($so->balance_due) . '</strong></td>' . "\n" .
' </tr>' . "\n";
?>
PHP Code:
define('ENTRY_AMOUNT_APPLIED', 'Amount Applied:');
define('ENTRY_BALANCE_DUE', 'Balance Due:');
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Bookmarks