cancel
Showing results for 
Search instead for 
Did you mean: 

which file contains You added...to cart?

SOLVED
Highlighted

which file contains You added...to cart?

I spent over 4 hours looking for the file that has the message when one added a product to cart.

Am to edit magento file or theme file.  grep -ri gave a long list. 

 

I editted add.php, cart-items.html and other files.  Which file do I need to edit.  HELP!!!product_add_to_cart.jpg

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: which file contains You added...to cart?

Hello @Sheba 

 

If you are trying to find this message :

You added product to your shopping cart.
 
This can be changed inside :
vendor/magento/module-checkout/view/frontend/templates/messages/addCartSuccessMessage.phtml
 
Hope it helps !
Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !

View solution in original post

2 REPLIES 2
Highlighted

Re: which file contains You added...to cart?

Hello @Sheba 

 

If you are trying to find this message :

You added product to your shopping cart.
 
This can be changed inside :
vendor/magento/module-checkout/view/frontend/templates/messages/addCartSuccessMessage.phtml
 
Hope it helps !
Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !

View solution in original post

Highlighted

Re: which file contains You added...to cart?

God BLESS YOU!!!!! Thanks...I was able to make the change needed.