Post by Hotpepper » Tue Apr 21, 2015 8:11 pm

How can I change the text in the top bar where it says "

Success: You have added a (product) to your shopping cart!

Can I change the colour of the text in the section, which file do I edit

Thanks for your help

???

Newbie

Posts

Joined
Tue Apr 21, 2015 8:01 pm

Post by IP_CAM » Wed Apr 22, 2015 6:28 am

opencart-2.0.2.0\upload\catalog\language\english\checkout\cart.php

Code: Select all

$_['text_success']             = 'Success: You have added <a href="%s">%s</a> to your <a href="%s">shopping cart</a>!'; 
to change color, you would have to simply add css, to make it look like (untested!):

Code: Select all

$_['text_success']             = '<div style="font-family: Verdana, Arial; font-size: 12pt; color: darkgreen;"><strong>Success:</strong> You have added <a href="%s">%s</a> to your <a href="%s">shopping cart</a>!</div>
so avoiding to rewrite the Stylesheet.css. Try it, can't break much! Adjust font spec's + color according to your needs!
Good Luck
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Hotpepper » Wed Apr 22, 2015 1:35 pm

Great that works

Thank you for your help

;D

Newbie

Posts

Joined
Tue Apr 21, 2015 8:01 pm
Who is online

Users browsing this forum: No registered users and 32 guests