The Problem was that when I moved servers that I needed to reset the permersion to the XML folder to 777
Printable View
I have tried to change the Status "delivered" in the admin to "shipped" but when i search for the word "delievered" in the code i do not come up with anything? Can someone tell me how i would find this? I do not believe it is an image, thanks for any type of help. I just need to be able to find it and i can figure it out. The way it is now customers think their item is already delivered when they get the status update as "Delivered", so stating it as "Shipped" would make a but more sense.
THanks again
Look under: Localization / Order Status
thank you very much... hmm somethings are just easier then you think.
This looks like a very useful contribution, but there is another thread in the forum that states that Super Orders does not work with PHP 5. Is this true? I find that a bit hard to believe.
I've read through the last 10 pages of posts in this thread and I didn't see the PHP 5 issue raised.
I have my first Zen Cart site almost completed. Are there any known issues that may prevent this contribution from working well with the following?
Zen Cart 1.38a
PHP 5
MySQL 5
I have a number of carts running php5 and Mysql5 with superorders and have had no problems
Thanks barco57.
PHP5 is pretty compatible with most legacy code, so the statement that it wasn't compatible did not make sense for something that looks like it is using current coding standards.
I'll install it. Super Orders looks to be very useful.
Ah. Those Americans. Never before has the world seen a nation with the ability to create such complex sales taxes. I have a client whose state levies sales taxes at the state, county and city levels creating literally thousands of possible rates. If they'd known, maybe they would have been more sympathetic to the British tea tax! Happily (and amazingly) Zen Cart copes.
However, over here in the UK, as in many other countries, consumer products are priced inclusive of sales tax and if the tax is mentioned at all, it's simply as a memo item on a receipt. For most of my clients therefore I swap the tax and total fields around to read
Unit price inc VAT: £22.50
Quantity: 2
Order subtotal: £45.00
Shipping: £5.00
Total: £50.00
Included VAT: £8.75
As Toholio has observed, Super Orders really doesn't like this, and I'm surprised that there's not been more discussion on this. Maybe because it only becomes obvious when you split or edit an order?
However, persuading it to work our way isn't so difficult. Here's the approach that I've just implemented for a client ...
Find the admin\includes\functions\extra_functions\super_orders_functions.php file and within it the recalc_total() function.
Find this block near the topand replace it withPHP Code:
// not everyone charges tax, so we check to see if it exists first
if ($products->fields['products_tax'] > 0) {
$this_tax = $this_subtotal * ($products->fields['products_tax'] / 100);
$ot_tax += $this_tax;
}
This creates a subtotal that is inclusive of taxPHP Code:
// not everyone charges tax, so we check to see if it exists first
if ($products->fields['products_tax'] > 0) {
$this_tax = $this_subtotal * ($products->fields['products_tax'] / 100);
$ot_tax += $this_tax;
$ot_subtotal += $this_tax; // add tax for products quoted inclusive of tax
}
Find this blockand replace it withPHP Code:
if ($all_totals->fields['class'] != 'ot_total') {
if ($all_totals->fields['class'] == 'ot_gv' || $all_totals->fields['class'] == 'ot_group_pricing') {
$ot_total -= $all_totals->fields['value'];
}
else {
$ot_total += $all_totals->fields['value'];
}
}
This prevents the tax from being adding into the overall total (which would be a double count).PHP Code:
if ($all_totals->fields['class'] != 'ot_total' && $all_totals->fields['class'] != 'ot_tax') {
if ($all_totals->fields['class'] == 'ot_gv' || $all_totals->fields['class'] == 'ot_group_pricing') {
$ot_total -= $all_totals->fields['value'];
}
else {
$ot_total += $all_totals->fields['value'];
}
}
This probably won't work for everybody, but will hopefully show how easy it is to tweak Super Orders to cope with different tax regimes and customs.
I have now gone live with this mod and am VERY impressed.
One more query though. I intend to print a copy of the the admin side summary (where you can edit orders - it's also is the page that shows if the customer has been notified etc) for my records. To comply with UK tax rules my paperwork must not make any reference to tax (because I'm not registered).
I've removed the headings, ie Tax, Total(inc) and so on, but I'm blowed if I can work out where to edit out the actual data!. This is especially frustrating as I managed to remove same from invoices and delivery notes.
Can anyone point me in the right direction please.
Many thanks
Philip