Post by kirkyskreations » Mon May 13, 2013 2:16 pm

Actually after posting that i realised that mine is using the default template not my new template files. I've just been editing the default template files now.


Posts

Joined
Thu May 09, 2013 12:23 pm
Location - Australia

Post by TAC » Sat Mar 22, 2014 12:29 am

I have deleted both button.png files but there is still a gray button showing on the site.

I have cleared my cache and tested in 2 other browsers. Firebug gives me no clues as to where else I could look, unless I am doing something wrong?

See attached and thanks in advance :)

Site is http://www.chocolatemadcowes.co.uk

Attachments


User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by speziasoft » Mon Dec 14, 2015 3:51 pm

One of the ways to make your store more unique and interesting is to change some of the text strings that are common for all online stores. This is why in this article we will show you how to change the “Add to Cart” text to something different.

How?
Changing the button name is actually quite easy. You just have to change the language string for that phrase and you are good to go. I will show you how to do this step by step. In the following example we will change the “Add to Cart” string for the English language, but this way is applicable for all languages on your store. Lets go!

Access your store’s files.
Navigate to catalog/language/english/default.php.
Find the following string:
1
$_['button_cart'] = 'Add to Cart';
Replace it with:
1
$_['button_cart'] = 'Order This';

That’s it! 8)
In the example above, we are changing the phrase with “Get it!”, but you can change it to whatever you want it to be. By doing this change, you will modify the string globally and it will not matter what template you are using, as long as the button text is not hardcoded in it.

Opencart Expert speziasoft

Newbie

Posts

Joined
Mon Dec 14, 2015 3:42 pm

Post by William.victor » Sat Dec 26, 2015 2:59 pm

This post help my project, thanks

I am OpenCart Developer in Indian OpenCart Website Development Company



Posts

Joined
Sat Dec 26, 2015 2:46 pm
Location - India

Post by tomeda » Sat Jan 09, 2016 5:58 pm

I would like to have different text for "Add to cart" button in different views, for example on category page/search page I would like to name the button "View" or "View more", on product page I would like to name the button "Add to cart". Is it possible and how as I found that the button "Add to cart" for all views is just one, so how can I setup different button for different views?!

Thanks!

OpenCart SEO Services
http://tomeda.bg


User avatar
New member

Posts

Joined
Thu Mar 19, 2015 4:48 am

Who is online

Users browsing this forum: No registered users and 10 guests