Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [totals]

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

0
votes
0answers
10 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
23 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
39 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
9 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
87 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
21 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
28 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
43 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
8 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
42 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
58 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
68 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
40 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
15 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
24 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
232 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
38 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
86 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
152 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
98 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
38 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
457 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
26 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
24 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
41 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
134 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
646 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
84 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
185 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
60 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
256 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
175 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 ...
0
votes
1answer
996 views

Magento2 : Show summery total on checkout page

How to display summery total on checkout page on sidebar above cart items list?
4
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
74 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
602 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
362 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
835 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
29 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
506 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
61 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
301 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 ...
0
votes
1answer
416 views

getting knockout js error magento 2

I added a custom row for fee on cart totals, My code for knockout js binding is <!-- ko if: !getValue().0 --> <tr class="totals hfee excl"> <th class="mark" colspan="1" scope="row"...
2
votes
0answers
436 views

Magento 2: How to add Estimate Shipping and Tax in Minicart?

I want to add Estimate Shipping and Tax block on Minicart. It is possible to calculate tax and shipping from minicart block?
1
vote
0answers
213 views

Magento 1.9 Shopping Cart Price Rule apply issue

I'm struggling with an issue regarding the Shopping Cart Price Rules. I've created a rule with a single coupon and the only condition is Subtotal is equal or greater than 65,50. When I'm using this ...
0
votes
2answers
777 views

Magento 2: Sub total is not updating on custom discount (Substraction is not working with dynamic value in cart)

I am working on module in which I need to develop discount facility. Everything is working fine, however, when the customer is not logged in at that time gift card discount showing but base total is ...
2
votes
1answer
744 views

totals not showing on shipping step in opc-summary-block

Sometimes I get the totals block saying totals can't yet be calculated. On very few occasions I get the same totals block as on billing step. But most of the time the totals block is just empty and ...
3
votes
2answers
1k views

Magento 2: Show total items count in Knockout template

I want to display the total items count using Knockout, in Magento_Checkout::header/minicart.phtml, e.g. if I have 2 items with the same SKU in the basket then the total items count is 1. I have ...
3
votes
1answer
92 views

Magento 1 : How to disable product price update on the front-end when changing a product Qty

I want to disable the price update with qty. In default magento price calculation is "Product PriceXQty". I want to disable it and total price in the cart is product price only.