How to modify the popup of Quick View?

When I add a product in cart using the quick view, appears a popup with:
“SUCCESS”, and “GO TO CART”.
How can I modify these names (“success” and “go to cart”)?
Please see the image below:
image-popup-quick-view
 
Thank you.
 

1 answer

Profile photo of Mall Staff 184060.00 $tone October 21, 2015
Public

Hi
To change the “success” text, let’s open the template file at /app/design/frontend/base/default/template/joomlart/jmquickview/cartreturn.phtml
and find to the code:

<h3 class="message-title"> <?php echo $cartreturn['status'];?> </h3>

and replace it by code:

<h3 class="message-title"> <?php echo $this->__($cartreturn['status']) ?> </h3>

and copy the language file from /app/design/frontend/default/default/locale/en_US/translate.csv
and paste to /app/design/frontend/default/jm_book/locale/en_US/translate.csv
Note: please rename the folder ‘en_Us’ to your language code after copied.
and then add to translate.csv some text to translate as you want as bellow:
“SUCCESS”,”your language text”
“Go To Cart”,”Your language text”

and clean them Magento cache after your changing.
Let do it and contact me if you need further assistance!
Regards,
Mall.
 
 
 

#1

Please login or Register to Submit Answer

Written By

Comments