Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › How to change 'add to cart' button text
Tagged: add to cart button, change button text
- This topic has 6 replies, 2 voices, and was last updated 14 years ago by
meesh.
-
AuthorPosts
-
December 7, 2011 at 4:53 am #4953
meesh
MemberI need to change the text on the ‘add to cart’ button. I do not want to upload a button image, but rather want to just change the text. I have gone to the plugins language folder but cannot find the ‘add to cart’ code. I have searched the file over and over and it’s not there. Am I looking in the right place? Please help!
December 7, 2011 at 5:28 am #39341Peter
MemberHi, Please see the following post:
December 8, 2011 at 1:11 am #39342meesh
MemberThank you, but I am not very experienced with code. Could you please tell me what line of code I need to edit in the wp_shopping_cart.php file?
December 8, 2011 at 2:04 am #39343Peter
MemberHi,
Ok that post appears to be outdated because the code has changed.
Let’s wait for admin to confirm where exactly the change can be made.
In the meantime, instead if changing the button text, are you aware that you can easily change the whole ‘add to cart’ button to an image of your choice? Then you can have whatever text within the image you wish.
December 8, 2011 at 2:29 am #39344meesh
Memberyes, I know you can add a custom button image. When I added a custom image it also changed the button image for the the ‘download now’ button. I only want to change the ‘add to cart’ button for this product. I want the ‘download now’ button text to stay the same. It seems when I add a custom image to the product it changes both of these, which I don’t want.
I really appreciate your help, thanks so much!
December 8, 2011 at 3:39 am #39345Peter
MemberHi,
Ok I’ve found where you can change the text of the “Add to Cart” button.
Simply go to your eStore settings page and go to the “General Image and Page URL Settings” section. Then change the field “Add to Cart Button Text or Image” with the text you wish to display.
December 8, 2011 at 4:00 am #39346meesh
MemberWOW! Thanks a lot for that, it worked. I appreciate your help:)
-
AuthorPosts
- You must be logged in to reply to this topic.