Needless to say, I'm pretty much disappointed with the way the whole order logic works.
After finding out that "Free shipping" doesn't remove all other payed types of shipping from the list of options, I found that the cart obviously mis-calculates order's total.
I have Sub-total, Shipping and Total enabled in "Order Totals".
After adding an item to the cart, I have:
sub-total: $20
total: $20
Which is not true, because I don't know how much the shipping would cost!
Then, when making the checkout, after I have chosen the type of shipping, the total gets updated with the cost of the shipping, and changes, which is correct, but it's very bad to see the total of the order change.
Then, if I don't make the checkout and add some more things to the basket, the shipping price "magically" disappears, which is correct, but the total still stays there, which is incorrect.
So, for me it's obvious that the cart module shouldn't try to display any shipping or total prices, at least outside the checkout process.
Can somebody prove that this is the way it's supposed to work in 1.4.9.3?
As far as I know, it didn't use to work like this in older versions.
Why is that needless to say? We can't read minds... we don't know what you like. It is very needed to sayalexmitev wrote:Needless to say, I'm pretty much disappointed with the way the whole order logic works.

Lots of whining here.. so basically you just want to hide the "Total" until after everything else is done.alexmitev wrote: After finding out that "Free shipping" doesn't remove all other payed types of shipping from the list of options, I found that the cart obviously mis-calculates order's total.
I have Sub-total, Shipping and Total enabled in "Order Totals".
After adding an item to the cart, I have:
sub-total: $20
total: $20
Which is not true, because I don't know how much the shipping would cost!
Then, when making the checkout, after I have chosen the type of shipping, the total gets updated with the cost of the shipping, and changes, which is correct, but it's very bad to see the total of the order change.
Then, if I don't make the checkout and add some more things to the basket, the shipping price "magically" disappears, which is correct, but the total still stays there, which is incorrect.
So, for me it's obvious that the cart module shouldn't try to display any shipping or total prices, at least outside the checkout process.
Can somebody prove that this is the way it's supposed to work in 1.4.9.3?
As far as I know, it didn't use to work like this in older versions.
Your claims about the totals "Existing" is fine but don't say they are calculating wrong because that is not true.
Showing the full total breakdown in the sidecart was a "feature" added to 1.4.8. A few people don't care for the subtotal and total both showing when they are the same.. but I think this will all change in 1.5.0
For now you can simply remove the total from the sidebox by doing:
1. EDIT: catalog/view/theme/yourtheme/template/module/cart.tpl
2. FIND:
Code: Select all
<?php foreach ($totals as $total) { ?>
Code: Select all
<?php if ($total['title'] == 'Total:') { continue; } ?>
5. FIND:
Code: Select all
foreach ($total_data as $total) {
Code: Select all
if ($total['title'] == 'Total:') { continue; }
How do I remove the shipping from cart.tpl and cart.php? I only want to show the total. I've managed to remove subtotal and vat, but can't seem to find an answer to this.
The shipping feature can be disabled from the admin - > extensions - > shipping. All those that are disabled should not show on the template as an option.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 9 guests