Questions tagged [totals]

Questions about totals calculation in cart, checkout and orders. This includes subtotal, grand total, discount total and others.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Magento2: Coupon code removing issue after merging quote

I have created a custom column 'discounted_total' in quote_address table for discount calculation. use Magento\Quote\Model\Quote\Address\Total\AbstractTotal; use Magento\SalesRule\Model\CouponFactory;...
0
votes
0answers
11 views

how to add totals of every field under this table on cart page in magento 2?

how to add totals of every field under this table on cart page in magento 2?
0
votes
0answers
44 views

magento 2 remove shipping amount from cart total

I want to remove shipping amount from cart page because we do not provide estimate shipping amount calculation block. Also, when customer add product to cart then its display grand total without ...
0
votes
0answers
49 views

Magento 2 How to add custom attribute to Totals Information Interface

I have to add custom attribute to /rest/default/V1/carts/mine/totals-information, so I found TotalsInformationInterface and I tried to add on this, but it is not working. I am doing this because I ...
1
vote
0answers
13 views

Magento2 WebshopApps Matrix rate extension issue with additional discount label in cart page

I have installed WebshopApps Matrix rate extension for my website in M2, i have also one custom module that shows gift card discount in cart page totals section,issue is when ajax call response comes ...
0
votes
0answers
22 views

Magento2: Correct price not loading on 2 step checkout?

define([ 'Magento_Checkout/js/model/quote' ], function(quote) { 'use strict'; var mixin = { getValue: function() { if (!this.isCalculated()) { return this....
1
vote
1answer
62 views

Magento 2: How can change in the frontend sortOrder of Grand Totals and Tax positions in my account order detail page?

I need to change sort order in order_totals block in the frontend order view page. I want to swap the position of Grand Total & Tax in order_totals child items. Please help to change to order of ...
0
votes
0answers
21 views

Change order currency and total if payment method changes

I need to change order total and order currency, when customer changes payment method I am able to observe the payment change event, but how can I change payment currency and total?
0
votes
0answers
36 views

Create Order Totals - Remove currency symbol in Admin Panel

I've added custom totals "Total Weight". It works perfectly on the storefront but in admin panel it displays currency symbol $ and it is formatted with .00. How can I change it? It should be not ...
1
vote
1answer
157 views

Magento 2: How to set item Row total?

I want to set a custom row total. I am using 'checkout_cart_product_add_after' event. And want to update Row total. I going to add an extra amount in an item row total. like, $item->setRowTotal($...
0
votes
1answer
19 views

Total Weight in Cart Summary. Change symbol

Using this tutorial https://www.siphor.com/add-a-custom-total-in-magento-2/ I created a totals for total weight of products. Generally it almost works but the prefix with currency symbol is ...
0
votes
1answer
239 views

Hide Shipping Method Title from Order Summary

In order summary (Cart page), Shipping Method is displayed as: (Method Name - Method Title) Is it possible to remove Method Title and display just the Name?
0
votes
0answers
26 views

Warranty extension available for purchase in cart

I would like to develop a module that allows the purchase of a checkout page warranty extension. The price is a percentage of the total products and it always refers to the total cart, not to the ...
1
vote
1answer
39 views

Magento 2.2.7 - Reload totals cart using Ajax

I have tried below code var deferred = $.Deferred(); getTotalsAction([], deferred); But no luck and instead below error i am facing Uncaught TypeError: Cannot read property '...
2
votes
1answer
64 views

How to remove only Total Tax from invoice pdf?

I am using Magento 1.9.3 I have enabled Display Full Tax Summary and its working fine. I can see my VAT and TAX both in totals area. But now I need to remove only Total Tax data from invoice PDF. (...
0
votes
0answers
11 views

Manage discounts for custom totals

I have a custom total, for example: Shipping insurance. It is managed correctly, the price without Taxes and the price with Taxes, I would like to further improve this custom totals by inserting the ...
1
vote
0answers
82 views

Magento 2.3 add shipping line to cart totals

We use a quite simple shipping cost line. When the total is below 29.95 it adds 5.95 for shipping. If the subtotal is above 29.95 it is free. Now I want to extend the default totals column in the ...
2
votes
0answers
80 views

update reward points and recollect the quote total and list the discount with reward points

I have customized for applying the reward points from a third party Capillary. I want to update the cart total and display by deducting from the reward points after the response from the curl. I have ...
0
votes
0answers
94 views

Remove tax code on total summary checkout

Is there a way to remove this one on total tax summary checkout Magento 2. http://prntscr.com/mf0xuw Thanks
0
votes
1answer
57 views

Show value of all totals in controller action

I need to log the values of all totals from a controller action. If the controller action is called, then i need a list rendered which shows the totals: If you are not familiar with totals then look ...
0
votes
0answers
17 views

Only allow to proceed to checkout if a minimum order total for specific products is reached

I have configurable products where users can select different colors. There are many RAL colors which the users can choose. These colors have RAL in the name, so it is easy to identify them, e.g. "...
1
vote
0answers
25 views

Magento 1.9.2. - Change format of summary in cart page

I would like to change the format of the totals in the summary on the shopping cart page, on the checkout page and also in the email for new order, on the customer's orders list, etc. At the moment ...
0
votes
3answers
495 views

Magento 2 How can I hide the price and total from cart and checkout summary?

I want to hide price and totals from cart/checkout Summary. You can see in below image. How can I achieve this functionality with a custom module? Is there any common file from I can hide the price? ...
0
votes
1answer
40 views

Checkout totals html template change

I've a strange problem with checkout page and totals row. Originally in module tax in file subtotal.html there is <!-- ko if: !isBothPricesDisplayed() && !isIncludingTaxDisplayed() --> ...
1
vote
0answers
108 views

Magento 2 Where ship-station (shipping charge) details will save at magento side?

I have installed and configured Auctane_Api ship-station module to magento2. Whenever I placed the orders those information populated at ship-station portal successfully. After processed shipment ...
1
vote
0answers
199 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: +----------+--------+--------+--...
1
vote
0answers
159 views

Magento 2 Collect Total In Payment Step

I am facing an issue and not able to figure it out if its a magento bug. I have added an additional fee created a module for it and its working fine every where. The only issue occurs If I come in ...
2
votes
0answers
56 views

Magento 2 Cart Price Rule Coupon Specific Coupon Does not Apply for some porducts in Admin Order

There is an issue which I am not sure if it's a bug and I hope someone can tell me, the bellow screen shoot were taken from an order: As you can see the product in red circled didn't apply the ...
2
votes
1answer
574 views

Magento 2 Adding Total Due and Total Paid to PDF order

Hi I am trying to add total paid and total due lines on my Magento PDF Invoice. I have added these lines in the config file in sales/etc/config.xml. I tried in order pdf i am not getting those fields ...
1
vote
0answers
31 views

How to apply magento discount on custom fee in Magento2.2.X

I have created a custom module that will add custom fee on order and show it everywhere in cart, checkout, order details etc, But When I applied magento discount it will not include this custom fee ...
0
votes
0answers
28 views

Reports data mismatch

I have the multi-website store (websites for UK, US and EU countries), catalog price scope is set to website. Base currencies of my store are as follows : For UK store : GBP, For US store : USD and ...
0
votes
1answer
52 views

Add editable text input to creditmemo totals

How to change the -€5.00 simple text to a text input field (editable) ? This is how I add the totals: <?php namespace My\Discount\Block\Adminhtml\Sales\Order; class Totals extends \Magento\...
0
votes
0answers
144 views

Magento Grandtotal Issue with Incl. Of Tax System and Paypal Tax with discounted price?

I am facing an issue with Magento1.9.2.4. My store is Incl. Of Tax, having 7% tax rate. Here is the admin panel tax settings screen-shot: When I am going to place order with shipping (Incl. of Tax 7%...
1
vote
1answer
733 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 ...
0
votes
1answer
97 views

Magento 2: How to add a product to the admin items ordered grid?

I am currently developing a module which pre prefills the order items grid automatically when a backend user creates an order from our CRM. This is done via the observer event: ...
0
votes
1answer
223 views

Add “Tax amount” to totals in “New order” email template

I am trying to improve the look of "New Order" email template. I managed to get as far as adding the price of each item including and excluding tax. Now, I want to add the "Tax Amount" to the totals ...
0
votes
1answer
73 views

What is $_total->getStrong()

I found this in totals.phtml file: $_total->getStrong() What does it do? totals.phtml file: <?php foreach ($this->getTotals() as $_code => $_total): ?> <?php if ($_total->...
1
vote
0answers
304 views

Not update the shipping total and Order Total after change the shipping methods

Steps to reproduce go to cart xxx.com/checkout/cart/ change the shipping methods not update the shipping total and Order Total after change the shipping methods i am usging 2.2.3
0
votes
1answer
208 views

magento coupon code not apply on grandtotal

I have issue/confusion. While I try to add a coupon code to my Magento 1 store at that time the Grand total (Including Tax) not changing. Coupon information Code: demo123 Condition: for all ...
1
vote
1answer
1k views

Magento2 : Show summery total on checkout page

How to display summery total on checkout page on sidebar above cart items list?
5
votes
1answer
2k views

Working of discount coupons on the checkout page in Magento 2.2.2

I am trying to understand the working of discount coupon codes on the checkout page. When we apply any coupon code, then the discount is added to cart without reloading the page. I have checked and ...
0
votes
1answer
83 views

I want to change the order of price details in cart

Here is the screen short i want to change the order of the price details on cart page. How can i achieve it?
0
votes
1answer
691 views

Reload Total section in checkout/cart page - Matgento 2

I want to reload total section when checkbox checked/unchecked. Here is the code I am trying to implement. etc/frontend/sections.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
0
votes
2answers
404 views

How can I disable all the payment options, when the cart value is 0 in Magento 1.9

How can I disable all the payment options, when the cart value is 0. I heard about zero subtotal checkout, but when the cart value is 0, all the payment methods appear along with the zero subtotal ...
0
votes
0answers
28 views

Magento 2 : Cart page total block messed up in AWS server

I have one query. I have 2 copy of one site one is in AWS server and another one is in Site ground. In site ground all works fine but in AWS it will messed up total block in cart page.
0
votes
2answers
956 views

How can I display the grand total in the minicart? - Magento2

I currently have my subtotal tax settings set to 'Display subtotal excluding tax'. This has changed the subtotal in the minicart to display the subtotal excluding tax. How can I display the grand ...
1
vote
0answers
30 views

Magento add Gst Charge Before Shipping Charge In checkout

I create one extension to add GST charge, and i want to add charge before shipping Charge i add code in config.xml like <cgst_charge> <class>gstcharge/...
1
vote
0answers
553 views

Add a new subtotal per VAT rate to invoices for display only that does not affect the value of the invoice

I'm trying to add a subtotal per vat rate to our PDF invoices. I've followed numerous sets of instructions (which are broadly similar) such as these: https://www.mageplaza.com/how-add-custom-discount-...
1
vote
0answers
67 views

Refund Totals not show in admin

I'm using Magento ver. 1.9.3.2 and I have no idea why Refund Totals not get shown in Magento, and I don't know what I need to do to resolve it. 2017-11-28T13:19:44+00:00 ERR (3): Mage_Core_Exception:...
0
votes
1answer
328 views

Totals block missing from confirmation mail?

The totals block below the item table is missing from my confirmation mail. I checked the mail template and the {{layout handle="sales_email_order_items" order=$order}} line is in there so that can ...