Skip to content

Magento2 – Product in cart with final price

At the moment when I add the product to the cart Magento takes the tier price of the product if it feels it is different from NULL. Otherwise it takes its normal price.
So I would like to do is create two conditions and force the product to be added to the cart with its normal price if I click on the button:

  1. Add the product to the cart with its final price

In the second condition I want to add the same product to the cart with its tier price by clicking on the button:

  1. Add the product to the cart with its tier price

How can I edit the code to make such a change?