Sunday 10 January 2016

Magento2 -- To make text changes like add to cart in Magento2

To make text changes in magento2,
just you need to override language core file

To do this create a new file in your theme location
app/design/frontend/Magento/<theme-frontend-sample>/i18n/en_US.csv

then you can make the changes

Example:

To change the 'Add to Cart' text in magento2
Add below one in app/design/frontend/Magento/<theme-frontend-sample>/i18n/en_US.csv

"Add to Cart","Add to Bag"

 Any queries related to this, please post in comments...

Keep learn the magento2

1 Comments:

At 26 January 2017 at 21:40 , Blogger Unknown said...

Thanks for the best blog.it was very useful for me.keep sharing such ideas in the future as well.this was actually what i was looking for,and i am glad to came here!
magento development company in bangalore 

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home