Re: KNOWN ISSUES: Edit Orders and taxes
A couple of weeks ago, I came here because I had some problems with the Edit Orders v3 add-on, mostly due to the fact I was using 2 languages and was getting blank pages due related to that.
Thanks to the updated version 3.3, this problem was solved, but I still had a couple of small problems - including one with the totals after an order had been edited. To be honest, I linked those issues to the fact I kept updating my files without making a clear re-installation of the latest ZC version.
So finally, I decided to pick up the latest 1.3.9h ZC version and add one by one mods I wanted, including of course Edit Orders and Super Orders. While the result is much better than what I had so far (this is still a test environment, of course), I still have a problem with Edit Orders 3.3 :
When I change the price of an article, the grand total of the order is set to 0.00.
For example, starting from
Code:
Produit Modèle Taxe Prix (sans taxe) Prix Total (sans taxe) Total
25 x test article TEST-10 0.00% CHF 10.00 CHF 10.00 CHF 250.00 CHF 250.00
Total: CHF 250.00
I changed the price from 10.00 to 9.95, and got the following :
Code:
Produit Modèle Taxe Prix (sans taxe) Prix Total (sans taxe) Total
25 x test article TEST-10 0.00% CHF 9.95 CHF 9.95 CHF 248.75 CHF 248.75
Total: CHF 0.00
Note the 0.00 for the grand total. I do not use any tax in my ZC shop, so this should not be related to that issue.
Should this problem be corrected in 3.5 ?
Re: KNOWN ISSUES: Edit Orders and taxes
Quote:
Originally Posted by
sanji
A couple of weeks ago, I came here because I had some problems with the Edit Orders v3 add-on, mostly due to the fact I was using 2 languages and was getting blank pages due related to that.
Thanks to the updated version 3.3, this problem was solved, but I still had a couple of small problems - including one with the totals after an order had been edited. To be honest, I linked those issues to the fact I kept updating my files without making a clear re-installation of the latest ZC version.
So finally, I decided to pick up the latest 1.3.9h ZC version and add one by one mods I wanted, including of course Edit Orders and Super Orders. While the result is much better than what I had so far (this is still a test environment, of course), I still have a problem with Edit Orders 3.3 :
When I change the price of an article, the grand total of the order is set to 0.00.
For example, starting from
Code:
Produit Modèle Taxe Prix (sans taxe) Prix Total (sans taxe) Total
25 x test article TEST-10 0.00% CHF 10.00 CHF 10.00 CHF 250.00 CHF 250.00
Total: CHF 250.00
I changed the price from 10.00 to 9.95, and got the following :
Code:
Produit Modèle Taxe Prix (sans taxe) Prix Total (sans taxe) Total
25 x test article TEST-10 0.00% CHF 9.95 CHF 9.95 CHF 248.75 CHF 248.75
Total: CHF 0.00
Note the 0.00 for the grand total. I do not use any tax in my ZC shop, so this should not be related to that issue.
Should this problem be corrected in 3.5 ?
Can't say that this will be resolved for YOU in the next version as it isn't a problem for the current version...
Re: KNOWN ISSUES: Edit Orders and taxes
Quote:
Originally Posted by
DivaVocals
Quote:
Originally Posted by
sanji
A couple of weeks ago, I came here because I had some problems with the Edit Orders v3 add-on, mostly due to the fact I was using 2 languages and was getting blank pages due related to that.
Thanks to the updated version 3.3, this problem was solved, but I still had a couple of small problems - including one with the totals after an order had been edited. To be honest, I linked those issues to the fact I kept updating my files without making a clear re-installation of the latest ZC version.
So finally, I decided to pick up the latest 1.3.9h ZC version and add one by one mods I wanted, including of course Edit Orders and Super Orders. While the result is much better than what I had so far (this is still a test environment, of course), I still have a problem with Edit Orders 3.3 :
When I change the price of an article, the grand total of the order is set to 0.00.
For example, starting from
Code:
Produit Modèle Taxe Prix (sans taxe) Prix Total (sans taxe) Total
25 x test article TEST-10 0.00% CHF 10.00 CHF 10.00 CHF 250.00 CHF 250.00
Total: CHF 250.00
I changed the price from 10.00 to 9.95, and got the following :
Code:
Produit Modèle Taxe Prix (sans taxe) Prix Total (sans taxe) Total
25 x test article TEST-10 0.00% CHF 9.95 CHF 9.95 CHF 248.75 CHF 248.75
Total: CHF 0.00
Note the 0.00 for the grand total. I do not use any tax in my ZC shop, so this should not be related to that issue.
Should this problem be corrected in 3.5 ?
Can't say that this will be resolved for YOU in the next version as it isn't a problem for the current version...
Screen prints from v3.03
Re: KNOWN ISSUES: Edit Orders and taxes
Fair enough. Do you have it working if the tax is set to 0% ?
Since this is a fresh install, I was wondering if it could come from a setting of the shop rather than from the code itself...
Thanks,
sanji
Re: KNOWN ISSUES: Edit Orders and taxes
Quote:
Originally Posted by
sanji
Fair enough. Do you have it working if the tax is set to 0% ?
Yep.. I only have one product setup as taxable in this test store..
Quote:
Originally Posted by
sanji
Since this is a fresh install, I was wondering if it could come from a setting of the shop rather than from the code itself...
Possible, but off the top of my head I couldn't say which setting this might be..
Re: KNOWN ISSUES: Edit Orders and taxes
DivaVocals,
Could you please direct me to the part of the code where the total is calculated and put into the database? I will try to understand where the issue could come from...
And another question : in the orders_total table, once I change a price and hence the total, the value of "sort_order" changes to 999 - the usual value - to 1. Is that normal?
Thanks again for your continuous support,
sanji
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
soxophoneplayer
Admin login lost when updating.
I updated this mod from v 3.02 to 3.03 on my zc 1.3.9h (test site only). I lost my admin login, replaced with a blank page. Front end of store worked fine.
Peeking in the cache/debug files, I was getting a "can not re-declare zen_bd_scrub in ()..." message. This was in ref to admin/includes/functions/extra_functions/common_orders_functions.php.
When I edit/merge or replace files there is always a .bak file created - I don't know if this is a zen cart thing or a windows thing. But anyway, common_orders_functions.php.bak was clearly not playing nice with the new file. When I removed the .bak file everything returned to normal and my login worked fine.
I post this in case someone else hits the same snag ;o)
I am having same exact issue, I lose the ADMIN login as soon as I install the admin/includes/functions/extra_functions/common_orders_functions file
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
letsmod
I am having same exact issue, I lose the ADMIN login as soon as I install the admin/includes/functions/extra_functions/common_orders_functions file
and what error are you getting??
Blank page = Error
Post the information from the log file that would have been generated as a result of the error..
Re: Edit Orders v3.0 for Zen Cart 1.3.9 [Support Thread]
Great mod, but how do I get this to work with fec mod... the orders.php file was winmerged and got a 404 when trying to edit...
Re: Edit Orders v3.0 for Zen Cart 1.3.9 [Support Thread]
Quote:
Originally Posted by
rxalex
Great mod, but how do I get this to work with fec mod... the orders.php file was winmerged and got a 404 when trying to edit...
All I can suggest is using Winmerge or Beyond Compare to merge the orders.php file from FEC with the one that comes with Edit Orders.