How to calculate price of products with custom options in Magento 2?

My problem is to set custom option price as product price while adding to cart. Usually in Magento custom option price will add to the product price but I want to assign custom option price as product price.

For example product price is 10 and custom option price is 20. When product is added, it will assume total price as 10+20 = 30. But I want product price to be 20 only.
 
You need to have an intelligent pricing calculator in Magento 2 store in order to calculate the total cost of the products with custom options.
I would suggest to use FME pricing calculator extension which enables you to calculate the total cost of product with custom option.

Checkout the Product Price Calculation with Custom Option Demo here - https://bit.ly/2N8q39T

@Sahil khan: we can customize our extension for you. Please contact our support team here - https://www.fmeextensions.com/support-center.html
 
Last edited:
Hi Sahilkhan,

Yes, it is very simple to list product price as 20 only.

According to your example, if product price is 10 and custom option price is 20. You have to subtract 10 from custom option i. e Custom option A = +10.00.

So when price is added to store, it will list Total 20 (Product price + custom option = 10 +10= 20)
 
Back
Top