Skip to main content

Questions tagged [order-totals]

Questions about Magento ckeckout order totals

Filter by
Sorted by
Tagged with
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' ...
David Young's user avatar
1 vote
1 answer
356 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 /** * ...
Shivani Singh's user avatar
0 votes
0 answers
219 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 ...
Shekhar Suman's user avatar
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 ...
xSimas's user avatar
  • 1
0 votes
1 answer
76 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 ...
venkata prasad's user avatar
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 ...
Nagaraju Kasa's user avatar
1 vote
1 answer
142 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 ...
Jack Brooks's user avatar
2 votes
0 answers
74 views

Onepage Checkout Order Review Empty

After entering the all details in checkout page order review empty, May I know the possibilities error?
Aveevan's user avatar
  • 21
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 ...
barry barracuda's user avatar
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) ...
Aditya Shah's user avatar
  • 7,627
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
Developper Magento 's user avatar
0 votes
0 answers
69 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.
Lovely Setia's user avatar
2 votes
0 answers
525 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: +----------+--------+--------+--...
blue's user avatar
  • 128
0 votes
1 answer
435 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 ...
Rajeesh's user avatar
  • 11
0 votes
1 answer
163 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:...
Kaushal Suthar's user avatar
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 ...
AHSAN KHAN's user avatar
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 ...
vedu's user avatar
  • 867
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->...
Idham Choudry's user avatar
1 vote
0 answers
112 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 ...
Nico's user avatar
  • 101
1 vote
1 answer
586 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 ...
Kishor Hase's user avatar
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/...
Rob D. A.'s user avatar
  • 867
2 votes
0 answers
290 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 ...
Hunter's user avatar
  • 1,484
2 votes
0 answers
335 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)
Gopi Shekar's user avatar
1 vote
1 answer
178 views

"totals" explanation

Can anyone explain the difference between getBaseSubtotal getSubtotal getBaseGrandTotal getGrandTotal getSubtotalInclTax getBaseSubtotalInclTax getBaseSubtotalWithDiscount getSubtotalWithDiscount ...
esigns's user avatar
  • 93
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
woshka's user avatar
  • 88
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 ...
Sivakumar K's user avatar
  • 2,023