cancel
Showing results for 
Search instead for 
Did you mean: 

How to Change Add to Wishlist button text in Magento 2

How to Change Add to Wishlist button text in Magento 2

Hi,

 

We need to Change Add to Wishlist button text in Magento 2, The whole website we need to replace add to wishlist text into add to favorite. We tried and changed some places, but product view page we have Add to Wishlist button and we cant find where to change that button text.

 

How to do that? Where to change it?

 

Please help to fix that.

 

Thanks

1 REPLY 1

Re: How to Change Add to Wishlist button text in Magento 2

You just need to create i18n folder in your theme level,

app/design/frontend/{Vendorname}/{themename}/i18n/en_US.csv

Now keep first column as original text and second column as translated word.

Add to Wishlist,Add to Favourite

Now run below command,

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial