cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide custom option price from dropdown from product page

How to hide custom option price from dropdown from product page

I am developing a website on magento version : 2.1.7.

 

As per client requirement I want to hide the custom price (For e.g. Custom option label + Custom Option Price)

 

I want to remove this Custom Option Price from the custom option dropdown on product page.

 

Please advice me to achieve this.

 

I am using magento version: 2.1.7.

1 REPLY

Re: How to hide custom option price from dropdown from product page

I believe this is the line that adds the price suffix (with + and - prefix) after each custom option on select boxes on the product page: https://github.com/magento/magento2/blob/9c14af7a97bcf338662de365d2613c7ca9dbf8c6/app/code/Magento/C...

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!