Page 1 of 1
[SOLVED] Question about Admin Order details
Posted: Fri Oct 21, 2022 11:08 pm
by miroslavs
I spotted some "strange behavior" in the admin and would like to ask what is the point, because I do not understand it.
What happen - in Catalog I select a camera, it price is $98, when select the shipping method, the price change to $80, to this it adds shipping or taxes for $5 and the total is $85.
When go to the Admin->Sales->Orders I can see my order, its total is $85, but when I open the Order details I find this - please see the attached file.
I have described the product with price $98...
Looking below, under the comments I spotted a strange table without title or note and there I see my real price $80 + $5 = $85, also there is a strange Confirm button.
Can someone help me to understand the logic of this?
Regards!
Re: Question about Admin Order details
Posted: Fri Oct 21, 2022 11:56 pm
by ADD Creative
It would be helpful to post your OpenCart version. Do you have Display Prices With Tax on in the settings? If so it looks like the price includes the 20% VAT tax and $2 eco tax. However, you would expect this to show in the totals.
Re: Question about Admin Order details
Posted: Mon Oct 24, 2022 2:11 pm
by miroslavs
Hi,
I am with version 4.0.1.1, didn't touch taxes. Set lower price for two of the test products. When do my test Orders I use Bulgarian address.
I understand OC put some VAT and other taxes with its own logic. I do not care of it until I can get the correct amounts from the Order Details. But just want to know about mentioned tables.
Actually first time I spotted this was when implemented my Refund logic. In this case I insert a row for each refund and the calculations where wrong. Please see at the attached screenshot.
I just want to know is the different price into the first table bug or feature, I do not understand?
Regards!
Re: Question about Admin Order details
Posted: Wed Oct 26, 2022 6:23 am
by ADD Creative
It's hard to say if it's a bug or feature without knowing all the settings you have.
Re: Question about Admin Order details
Posted: Thu Oct 27, 2022 9:04 pm
by miroslavs
I made clean install. Just added admin user, nothing else was changed in entire OC.
Went to the Catalog, selected the Canon camera. Used Guest checkout with Bulgarian shipping address and flat rate delivery for $5. The Order total was changed from $98 to $85.
Same result - into the Orders list my order total is $85, into the Order details page in the beginning I see product table with price $98 and under the Comments section I see the second table with the correct total - $85.
So why there are two tables with the default/base price and the actual price?
At least let someone tell me is this normal?
Regards!
Re: Question about Admin Order details
Posted: Fri Oct 28, 2022 7:16 am
by ADD Creative
The catalogue is correct dropping to $80 when you select Bulgarian. As the default settings only have United Kingdom tax.
The admin order view looks like a bug. It shouldn't show the product price as $98 as there in no tax set up for Bulgarian.
Re: Question about Admin Order details
Posted: Fri Oct 28, 2022 1:58 pm
by miroslavs
Thanks!
I will keep the current logic and state of my plugin and will wait for new version with fixes.
Regards!
Re: Question about Admin Order details
Posted: Fri Oct 28, 2022 8:58 pm
by straightlight
miroslavs wrote: ↑Fri Oct 28, 2022 1:58 pm
Thanks!
I will keep the current logic and state of my plugin and will wait for new version with fixes.
Regards!
Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.
Re: Question about Admin Order details
Posted: Sat Oct 29, 2022 7:26 pm
by ADD Creative
Will probably need someone to raise the issue on GitHub.
Re: Question about Admin Order details
Posted: Wed Nov 02, 2022 4:30 pm
by miroslavs
ADD Creative wrote: ↑Sat Oct 29, 2022 7:26 pm
Will probably need someone to raise the issue on GitHub.
I am not sure how to do it, so if there is someone who know, let's do it, please!
Re: [SOLVED] Question about Admin Order details
Posted: Wed Nov 02, 2022 7:00 pm
by ADD Creative
It looks like an issue has already been raised. I have added a link to this topic as an example.
https://github.com/opencart/opencart/issues/11863
Re: [SOLVED] Question about Admin Order details
Posted: Tue Nov 22, 2022 4:02 am
by ismailkho
Actually, I also suffer from the same problem, thanks for the answers.