Linked Questions

0
votes
0answers
924 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. ...
3
votes
1answer
17k 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 ...
7
votes
3answers
4k 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: ...
3
votes
1answer
7k 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\...
4
votes
1answer
5k 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\...
2
votes
2answers
2k 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.
9
votes
2answers
1k 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\...
2
votes
1answer
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 ...
1
vote
1answer
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 ...
11
votes
1answer
1k 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 ...
0
votes
1answer
676 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 ...
0
votes
1answer
955 views

Apply discount from checkout second page/tab

I am using Magento 2 enterprise edition (2.0.6) I want to apply discount on sub total, Discount is applied from cart page (added a button on cart which applies the discount) and then if I go to ...
4
votes
0answers
860 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 ...
4
votes
1answer
517 views

How to trace the magento2 modules more efficiently?

Without any background knowledge of Magento 1.x, I'm currently studying Magento 2 modules and after following quite some tutorials & docs, I now understand the basics. But when it comes to ...
1
vote
0answers
1k 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-...

15 30 50 per page