Hey,
I'm using standard template, I want to change the 'Add to Cart' text on all pages to 'Add to Pad'
I've made this change to category.tpl and it doesn't seem to work, but the same change worked on the product.tpl, really confused. I've tried deleting cache etc. but still says add to cart!
<div class="cart">
<input type="button" value="Add to Pad" onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button" />
</div>
can anyone help?
Revert back to default then open:
/catalog/language/english/english.php
And change:
To
/catalog/language/english/english.php
And change:
Code: Select all
$_['button_cart'] = 'Add to Cart';
Code: Select all
$_['button_cart'] = 'Add to Pad';
-Ryan
fantastic, cheers Ryan, didn't know that page existed 

gifts for her - for guys that are pants at romance http://suchabloke.com
Hey guys, I know this is an old post, but is there a way to do this for only one item and then perhaps let it take you to a different URL? That would be quite useful. Reason: Products are fine the way they are, but want to add a product that instead of buying/adding to cart, takes you to a page where they can sign up for a subscription.
Any help or advice would be greatly appreciated. Thanks
Any help or advice would be greatly appreciated. Thanks
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!
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
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!

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
Who is online
Users browsing this forum: No registered users and 7 guests