Questions tagged [grand-total]
Questions about totals calculation in cart, checkout and orders calculated amount would set in grand total
102
questions
15
votes
1
answer
1k
views
Allowing for a negative order, with Grand Total less than 0
One of our clients has asked for the ability for its order entry personnel to submit orders with a negative order total. The application already allows negative line items, which works fine as long as ...
9
votes
2
answers
2k
views
Magento 2: How to make custom fee taxable
I want to add a tax on custom fee. tax calculation is perfect and gets tax amount but it's not set in TAX files in quote_address in the database.
public function collect(
\Magento\Quote\Model\...
9
votes
1
answer
3k
views
Shopping cart price rule applied at Grand total (or subtotal after discount)
I have a rule:
Buy 2,500 get product A free
Then customer has coupon discount 200 and grand total now 2300.
In this case rule 2500 must not be applied.
I've found on shopping cart price rule ...
9
votes
1
answer
11k
views
Add new total to grand total using observer in Magento?
I want to add some extra amount to Grand total in Magento. So in checkout page, order review section will look like this:
This extra charges will depends on some conditions.
My question is: How can I ...
6
votes
3
answers
16k
views
How to get the Grand Total with shipping charge and tax at onepage checkout in Magento 1.9?
In onepage checkout, I am trying to get Grand Total but it is not updated based on shipping charges, taxes applied instead it is only showing product cost.
After selecting the shipping method and ...
5
votes
2
answers
2k
views
Magento individual discount for inner product of bundle product
Hello I have one question regarding bundle product in magento
Let me take one example to be clear
Suppose I have one bundle product named "bundle_test" and their child product which are simple ...
4
votes
0
answers
565
views
Magento 2 : Can We Convert Price Into Ceil Price
I have setup multi store view with multiple currency. Everything is working as expected.
Now, I got requirement to convert all prices into ceil. (e.g, SR20.02 = SR21). For this task, I have ...
4
votes
0
answers
133
views
Create Custom Attribute Like "Extra Fee" in Category And Calculate It To grand Total [closed]
I Have Created One Attribute In Category Like Extra Fee.
But How To Calculate That Extra Fee In Magento Grand Total ?
3
votes
2
answers
2k
views
Magento 2 : How to change grand total in shopping cart page
I want to change grand total i.e of on shopping cart page.
I don't want to show any shipping or taxation on cart page all must be on checkout page only.
I tried with changing vendor\magento\module-...
3
votes
1
answer
10k
views
How to display the total discount amount on my shopping cart?
How can I display the total discount amount on my shopping cart?
I can get the subtotal and grandtotal from the code below, but what about the total discount?
$quote = Mage::getSingleton('checkout/...
3
votes
2
answers
9k
views
Calculate grand total on order
I know grand total is calculated on quote, I would like to find out is there a way to create an order object, add items to it and then get it's grand total without just manually adding item prices to ...
3
votes
2
answers
686
views
Magento 1.9 skip payment method step when grandtotal is zero
I want to skip payment method step when Grandtotal is zero
Any help would be appreciated.
Thanks!!
3
votes
1
answer
861
views
Add item to totals in pdf invoice
We have a pdf invoices with totals displaying both prices with included and excluded tax, but without a subtotal.
What we need now only on pdf invoices is to display a total when the discount (coupon ...
3
votes
1
answer
459
views
Grand total is storing as 0 while ordering the products in magento 2
Before placing the order it shows correctly the order total but after placing the order, it stores the grand total as 0 in the database table. How to fix this problem?
3
votes
0
answers
218
views
Magento 2 admin in invoice total section grand total not get reduced
When creating an invoice for the order from Magento 2 admin panel, the grand total not get reduced with my store credit value.
3
votes
0
answers
425
views
How can I change grand total when user Clicks on Custom Payment method?
I am using the one-page checkout module. I want to change the grand total when user/customer selects the payment method.
If customer/user selects the online payment option then grand total should ...
3
votes
0
answers
604
views
How to display shipping estimate and auto add this to grand total on cart page?
I am currently working on a magento website and trying to get the estimated shipping charge auto added to the grand total on the cart page. By doing this on the cart page I am trying to remove one of ...
2
votes
1
answer
10k
views
which phtml file is called by $this->renderTotals()?
In following path, app\design\frontend\MYTHEME\default\template\checkout\cart\totals.phtml file contains $this->renderTotals().
My question is that, which phtml file is called by renderTotals() ...
2
votes
2
answers
11k
views
get order totals from $order object
I want to iterate over all the total models in order to get the code & values.
I have $order object and the only way I can get all the totals is using $quote object as:
$order = Mage::getModel('...
2
votes
1
answer
4k
views
get total item price in order Magento 2
I want to get total item price from order item, including it's tax and any other additional price. Currently i got total price of an order item in like this:
$qty = $_item->getQtyOrdered();
$...
2
votes
1
answer
556
views
Grand total is not changing using observer on checkout page in Magento 1.8
I am using event observer on checkout page for modifying grandTotal on checkout page
config.xml
<?xml version="1.0"?>
<config>
<modules>
<Ranosys_SpecialPrice>
<...
2
votes
1
answer
4k
views
Magento 2 - How to update grand total when shipping method is changed?
How can I update the grand total value when shipping method is changed to reflect new calculation?
When you change the shipping method here,
It must reflect the new calculation in TOTAL section.
2
votes
1
answer
944
views
What is the event fires when change the grand total in cart?
I want to write an observer function which will fire whenever the cart total is changing.
Eg: When add/remove products in the cart,
Add rewards/coupon codes to the cart
My observer function will ...
2
votes
2
answers
273
views
Magento 1.x How to get order Total amount in my custom module page?
How to get order total amount in my custom file ?
2
votes
2
answers
5k
views
How to update order grand total via controller in Magento 2.2.2?
I am trying to update the order's grand total via a controller.
Here is my controller's code:
<?php
namespace Company\Vendor\Controller\Index;
use Magento\Framework\App\Action\Action;
use ...
2
votes
2
answers
2k
views
Exclude Shipping Tax in grand total
I'm stuck trying to exclude the shipping cost from the order-totals table in the invoice email.
At the moment, the invoice email looks like this: (I included a little translation for the most ...
2
votes
1
answer
764
views
Rounding grand totals in Magento 2.1
Is it possible to round the grand totals of checkout-cart up/down?
I need a "swedish rounding"?
Problem is I have some customized products with cent-prices, so I cannot change these fixed prices.
2
votes
0
answers
204
views
Custom store credit get applied twice on the payment gatway total in magento 2
When applying for store credit/custom fees(custom module) in one-page checkout in Magento 2. It gets applied correctly on the grand total. But when pay using a payment gateway(razor pay), my store ...
2
votes
1
answer
977
views
Get Sales Data of Current Day
I can get sales revenue with this
$orderTotals = Mage::getModel( 'sales/order' )->getCollection()
->addAttributeToFilter( 'created_at', array( 'from' => date( 'Y-m-d' ), 'to' => date( ...
1
vote
5
answers
17k
views
How to get price without currency symbol?
How can i echo grand total without the $ symbol attached to it?
Am using the following code to display grand total
echo Mage::helper('checkout')->formatPrice(Mage::helper('checkout')->...
1
vote
3
answers
1k
views
Check if Grand Total is Negative
I need to refresh the cart page and show a custom block in case my Grand Totals is Negative.
$grandTotal = Mage::helper('checkout/cart')->getQuote()->getGrandTotal();
This prints -$2,269.50, ...
1
vote
2
answers
1k
views
magento 2.3.2 checkout order summery grand total after custom text add
I am trying to add custom text after grand total section in Order Summary
like
<tr class="custom-text">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. ...
1
vote
2
answers
2k
views
What currency does Magento use in the database table `sales_flat_order` if we have several orders with different base currencies
For example I want to use base_grand_total. I know that this value is displayed in the base currency on paper.
I have the data at sales_flat_order:
base_cur. global_cur. order_cur. store_cur. ...
1
vote
2
answers
3k
views
Remove tax from grand total
I need to remove tax from grand total in Magento.
Means I want only show Tax but not add grand total
1
vote
1
answer
370
views
Different currency symbol grand total Euros and Dollars M2.3
I set my M2.3 to Deutsch but the grand total is still with $ symbol, please can you help with this issue?
1
vote
1
answer
3k
views
Magento 2: How can I update tax and total programmatically on checkout?
I have a checkout field for tax exemption that is not related to a customer group. That would be too easy. Instead, I would like to update the tax amount and total to reflect those changes when this ...
1
vote
1
answer
485
views
Magento 1.9 Which database is getQuote()->getGrandTotal() used?
I have this code in a custom module
Mage::getSingleton("checkout/cart")->getQuote()->getGrandTotal()
Which table and which column does this code getting data from?
First I thought it was the ...
1
vote
1
answer
320
views
Magento 1.8.0.1 - Grand total is showing subtracted VAT
Having the exact same problem as here Grand total is wrong: VAT is substracted
But there is not answer to the question, so im trying again, and hope someone can help.
As you can see on the picture, ...
1
vote
1
answer
2k
views
How to get total price for product with qty before adding to cart in Magento
I have shopping cart promotion rules which gives discount for buying 4 products. This works fine on shopping cart page. I mean it applies discount and shows discounted price in TOTAL row. I want to ...
1
vote
1
answer
227
views
How to show grand total amount in english words Magento 2 invoice pdf?
In Magento 2 invoice pdf, how can I show grand total amount in english words also? How can I achieve this?
1
vote
2
answers
1k
views
How can i get the order total value on success page easily? Magento 2.2
I am trying to get the order value from success.phtml page so that I can report it back in the facebook pixel.
I am just looking for the simplest way to get the order value. Yes, a shortcut pretty ...
1
vote
1
answer
174
views
How can I get grand total in custom phtml file
Platform: Magento 1.9
Area: Cart/Quote
I want to get cart grandtotal in my custom phtml file.
Is there any easy way to do it?
1
vote
1
answer
725
views
What is the difference between base_grand_total and grand_total? [duplicate]
what is the difference between base_grand_total and grand_total?
What is base?
1
vote
1
answer
160
views
How to show grand total of wishlist item list incluging tax?
I wants to show grand total including tax. i have follow this link to show grand total without tax how to get Grand Total of Wishlish Items in magento? and it working fine. but i need to display grand ...
1
vote
2
answers
723
views
How can we change grand total when payment method is cash on delivery using Magento 1.8?
How can we round up or down grand totals when payment method is cash on delivery on checkout page.
ex. If total is 50.60 then if customer selected cash on delivery payment method then grand total ...
1
vote
2
answers
513
views
How to remove TEXT of checkout/Order Review page in magento?
how to add custom text in layout page in magento ?
1
vote
1
answer
2k
views
How to modify cart totals on basket page
I'm looking to modify the cart totals section on the basket page and need some help. Here is what I'm trying to achieve
I want to know 1) How to add a new row with a title "shipping will be ...
1
vote
1
answer
197
views
How can you calculate the prices with 2 decimals, not with 4 decimals?
How can you set in Magento2 that all the calculations you make on orders, invoices, price rules,…, to be done with 2 decimals not with 4 decimals?
Attention, I mean the calculation of prices and not ...
1
vote
0
answers
164
views
How to disaply tax and grandtotal in minicart
i have tax setup in website everywhere showing but in minicart not showing in tax
so i want to tax and grand total show in mini cart
how can achieve this?
Thanks in advance
1
vote
1
answer
1k
views
How to solve order total and invoice total mismatch?
I am using this extension for adding extra fees,
In checkout page,
Order total before creating invoice,
After creating invoice,
Error : The invoice total and order total not matching in invoice,
...