Linked Questions

0 votes
0 answers
975 views

How to make extra fee on specific payment method : Magento 2 [duplicate]

How to make extra fee on specific payment method and this fee appearing in frontend, order email, backend(order, invoice) ? More extensions not have a full features as I mentioned in my questions. ...
Jsparo30's user avatar
  • 1,342
4 votes
1 answer
27k views

How to re-collect quote totals in Magento 2?

I'm developing a payment module called Payment fee, when choosing this payment, customer will pay a fee (Surcharge fee)? I think we need to use Ajax to re-calculate. I know how to build a offline ...
Khoa TruongDinh's user avatar
7 votes
3 answers
5k views

How to send data from html template to controller magento 2

My controller is calling but how to send data and retrieve data? My template: <!-- ko --> <tr class="totals fee excl"> <th class="mark" colspan="1" scope="row" data-bind="text: ...
Nagendra Kodi's user avatar
3 votes
1 answer
8k views

Magento 2 - Add Custom Discount to Order Totals on Cart page

protected function productpointAjax() { $layout = $this->_view->getLayout(); $this->checkoutSession->setCartWasUpdated(true); $totalsBlock = $layout->createBlock('Magento\...
Slimshadddyyy's user avatar
4 votes
1 answer
6k views

Magento 2 : Update Order Summary Block On Checkout Page

I already look into this : how to add fee to order totals in magento2 I need to added additional fee based on shipping address, So I used this plugin <type name="Magento\Checkout\Model\...
Dhiren Vasoya's user avatar
2 votes
1 answer
4k views

For what there is the sales.xml file?

For what there is the sales.xml file? In the documentation, I can not find anything about this file.
Wojciech Ka's user avatar
2 votes
1 answer
3k views

Magento2 : How to add my custom template in order summary page after total

I want to add my custom template on checkout page in order summary just after Total as shown in screenshot : In this template .phtml file I want to add some conversion depend on payment gateway just ...
Vinaya Maheshwari's user avatar
11 votes
1 answer
3k views

Magento 2 - Update quantity and totals of cart page without page reload?

In Magento2 - We need to update main cart on change of quantity by Ajax without click on "Update Cart Button" and without reloading the page, Below my code in this code only update cart subtotal but ...
Prathap Madhavan's user avatar
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\...
Hardik Dhankecha's user avatar
1 vote
1 answer
2k views

Magento2 : Calculate shipping charge based on cart value in Store Pickup method

I am working on magento 2.1.3 and using storepickup plugin for shipping methods. My shipping charge for store pickup is 5% of the cart value. Also there is 16% VAT for all products and shipping ...
Sudheesh K Surendran's user avatar
1 vote
2 answers
2k views

Add custom row to Order View on Frontend Magento 2

I have my own custom discount, and on checkout I can use it. When I place the order, I see that grand total is changed, but me need to show discount. I want to paste it between subtotal and shipping.
Віктор Шуст's user avatar
0 votes
1 answer
751 views

Cash Discount for Payment Method

I need to add a cash discount for a payment method (called "Vorkasse" in German - advance payment is the word in English I guess). The total cart value (excluding shipping costs) should have a ...
DaFunkyAlex's user avatar
0 votes
1 answer
2k views

How to get cart grand total(Summary) without shipping cost in checkout/cart page in Magento2.1.7?

I want to get cart grand total(Summary) without shipping cost in checkout/cart page in Magento2.1.7?
Amy's user avatar
  • 935
4 votes
0 answers
1k views

Magento-2 : How to update cart total on check-box checked/unchecked

Magento2 - in checkout page, I have one check-box just before the payment method on the checkout payment step. I need to update cart total on check-box check/unchecked. Currently system is working ...
Suresh Chikani's user avatar
1 vote
1 answer
1k views

custom fee order totals issue

I created custom fee based on following link. (Please look at my module at : https://github.com/sivajik34/Delivery-Signature-Magento2) how to add fee to order totals in magento2 Everything is ...
Sivakumar K's user avatar
  • 2,013

15 30 50 per page