Skip to main content

Questions tagged [order-totals]

Questions about Magento ckeckout order totals

Filter by
Sorted by
Tagged with
0 votes
2 answers
2k views

Changing & Adding items in checkout_index_index.xml

I'm trying to customize Order Summary in the sidebar. The module that I'm currently working on will modify the final total price and I need to display the additional price under Shipping. I've taken ...
1 vote
1 answer
2k views

Magento2 set custom shipping amount when create order programatically

We have created a custom shipping method using the custom module and trying to save the shipping amount based on the subtotal ex: if subtotal < 25 shipping amount is $5 if subtotal > 25 shipping ...
1 vote
3 answers
1k views

Magento 2 Klarna Error: 'Order line totals do not total order_amount - 17311 != 17310'

When I add a configurable product to the map and go to the second checkout step and after loading it again I reload it, I get this error: 'Order line totals do not total order_amount - 17311 != 17310' ...
2 votes
2 answers
6k 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 ...
45 votes
6 answers
51k views

How to add fee to order totals in Magento 2

The following link will describe http://excellencemagentoblog.com/blog/2012/01/27/magento-add-fee-discount-order-total/ to add fee to order totals in Magento 1. Now this functionality is moved to ...
1 vote
1 answer
368 views

Magento 2 Invoice Emails: Tax row alignment in subtotals

So I wanted to change the layout of my invoice emails, especially order totals. I wanted labels to align right. I copied my totals.phtml file in my theme and added my styling. <?php /** * ...
0 votes
0 answers
229 views

Total Paid amount is mismatch with captured amount in paypal order

I have some inconsistent orders having issue with total paid amount difference with captured amount for paypal payment orders. Here I have one example order having total paid $160.51 and captured ...
0 votes
1 answer
77 views

Coupons are applied but payment decting only one coupon in magento2

I'm using the Multiple coupons for magento2. in this module coupons are applied but amount is decting wrong. if I applied 2 coupons to the product those are applied when I pay the amount only one ...
0 votes
1 answer
1k views

Recalculate order grand total including discount and tax

I have an order data without shipping included, i tried to re-calculate total order when adding shipping price like this: $shippingAmount = '30000'; $quote = $this->getQuote(); $quote->...
1 vote
1 answer
144 views

Magento 2 get total spend so far for each customer to custom customer attribute

public function test($setup) { /** @var CustomerSetup $customerSetup */ $customerSetup = $this->customerSetupFactory->create(['setup' => $setup]); // Add new customer attribute ...
2 votes
0 answers
75 views

Onepage Checkout Order Review Empty

After entering the all details in checkout page order review empty, May I know the possibilities error?
0 votes
1 answer
1k views

Avoid Magento 2 from automatically adding tax rate to uploaded gross prices

I upload my prices as gross prices incl. all taxes. Still I want the invoice to show the tax rate without Magento adding it automatically during checkout. I need Magento to understand my product ...
6 votes
1 answer
2k views

Magento 2 REST - SKU to items on cart totals API response is not available, How to get SKU in response API

Magento 2 Rest API of cart totals doesn't provide SKU, Which is necessary for any operation like extension_attributes /rest/V1/carts/mine/totals The return array of Items is array (size=21) ...
1 vote
1 answer
37 views

How to delete the summary table in minicart page Magento 2

I want to remove the summary from this page and how to remove shipping method and the part of price and product from this page
0 votes
0 answers
70 views

How to show quote_id in response of /carts/mine/totals API in magento-2.1?

I want to show quote_id in response of /carts/mine/totals API in magento-2.1. Anybody guide me.
2 votes
0 answers
550 views

Change order total programmatically in magento 2

I want to change the order total in Magento 2 for pending order programmatically, the change of the total doesn't include the discount and shipment price, for example: +----------+--------+--------+--...
0 votes
1 answer
469 views

Magento 2: How to show order total in 2 different currencies in checkout page of onepage checkout

I have 2 different currencies in my site with USD as base currency and EURO as secondary currency. My client wants to show the total in these 2 currencies in the checkout page. So in all other places ...
0 votes
1 answer
165 views

Magento2 Checkout Total Title

I'm trying to change Grand Total label in Checkout page using following code but it's not working <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1 vote
1 answer
1k views

Magento 1.9 Changing Totals Layout and Calculations

I want to change to layout of order totals on review, print, email and admin panel somehow i manage to do that with cod fee its showing perfect as screenshot attached COD Fee Vat (5%) Subtotal Same i ...
1 vote
1 answer
587 views

Magento 2 split order total not calculate properly

I am working on Magento Ver. 2.2 I have split order using following code. It split the order but order total is not calculate properly for each order. In short each order display complete/original ...
1 vote
0 answers
114 views

Wrong payment method in order totals

I have received an order where user chose "Bank Transfer" as payment method but in order totals I've found "Cash on delivery" as payment method (by selecting this payment method user has to pay an ...
0 votes
3 answers
3k views

Orders collection - how to get all in the time range (current day)

Trying to gather all the orders (current day) and sum totals Updated: $format = Mage::getModel('core/date')->date('Y/m/d'); $from = $format.' 00:00:00'; $now = Mage::getModel('core/...
2 votes
0 answers
291 views

Google Adwords dynamic value is not showing the right value

I'm using Magento 2.1.4 and configured google adwords data for my magento store like this : the google adwords code generated successfully, but the problem is the price value at checkout success ...
2 votes
0 answers
340 views

Order totals for pending payment showing total paid instead of total due

I'm facing an issue when an order payment is not completed. On magento backend order section, order total is showing Total Paid amount instead of Total Due(as the payment is not completed)
3 votes
2 answers
11k views

Magento2: How to get order total price

I am developing a Magento 2 Payment Gateway now I need to get order total to make the payment how to get it on Magento 2 using Magento Cart Models? Thanks
1 vote
1 answer
179 views

"totals" explanation

Can anyone explain the difference between getBaseSubtotal getSubtotal getBaseGrandTotal getGrandTotal getSubtotalInclTax getBaseSubtotalInclTax getBaseSubtotalWithDiscount getSubtotalWithDiscount ...