Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Change Add to Cart button to Donate and take directly to PayPal

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Change Add to Cart button to Donate and take directly to PayPal

Tagged: change text for eStore button, change text in button, create button image, customize text on eStore button, donate buton text, donate button, Gift Now button, PayPal, text button

  • This topic has 8 replies, 3 voices, and was last updated 11 years, 9 months ago by cadives.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • July 24, 2013 at 10:35 pm #9382
    cadives
    Member

    I need to change the Add to Cart button to a Donate button which will take the person directly to my PayPal. I am using Fancy 2. I have found related topics but not this one. I am not a code person! Thanks

    July 25, 2013 at 1:30 am #56791
    wpCommerce
    Moderator

    Hi, you can just use a Buy Now button for that product using the following shortcode:

    [wp_eStore_fancy_display id=1 type=1 style=1]

    Read our documentation on using “Buy Now” type buttons:

    http://www.tipsandtricks-hq.com/ecommerce/how-to-use-buy-now-buttons-using-the-wordpress-estore-shopping-cart-plugin-15

    You will need to install the eStore extra shortcode plugin to get this shortcode to work:

    http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

    You can customize the button to something like “Donate Now” by overriding the existing “Buy Now” button for that product. Check the following link for more information:

    https://support.tipsandtricks-hq.com/forums/topic/how-to-change-the-buy-button-images-for-estore-and-simple-shopping-cart-plugins

    July 25, 2013 at 9:12 pm #56792
    cadives
    Member

    Hi, Okay I have added to Buy Now button to my general setting page by downloading one of the premade buttons.

    1. How do I customize the buttons’ text from Buy Now to Gift (or Donate) Now? Since it is an image I have loaded I cannot edit the text.

    2. I see this code [wp_eStore_donate id=1 button_text=”Donate Money via PayPal”]

    but how do I get it to work on my eStore Products Page?

    My goal is to have a Products Page that lists several Donation amounts ($1000, $500, $100)and using Fancy 2 to add thumbnails and descriptions. Then when a person clicks the button it will take them to my PayPal.

    July 26, 2013 at 12:22 am #56793
    wpCommerce
    Moderator

    Hi, Functionality doesn’t change if you use a different image. A button of type “Add to Cart” will always add a product to the shopping cart once clicked. The text of the button can say “Add to Cart”, “Buy Now”, “Subscription”, “Donate Now” etc.

    You can read more about the button behavior here:

    https://support.tipsandtricks-hq.com/forums/topic/different-types-of-payment-buttons-and-their-behaviour

    You want to set up your products using Fancy 2 along with thumbnails and description. And since “Buy Now” and “Donate” type buttons work the same way (they take a user directly to PayPal once clicked) I recommended you to use a “Buy Now” type button using the following shortcode:

    [wp_eStore_fancy_display id=1 type=2 style=2]

    You just need to replace the “id” value with the actual ID of your product.

    July 26, 2013 at 5:33 pm #56794
    cadives
    Member

    Hi. Thanks. Using the [wp_eStore_fancy_display id=1 type=2 style=2] shortcode, my Buy Now button goes directly to PayPal. My next step is trying to change the button text so, based on the example shortcode [wp_eStore_donate id=1 button_text=”Donate Money via PayPal”]I used tired using [wp_eStore_fancy_display_donate id=1 button_text=”Gift Now via PayPal” type=2 style=2] which does not change the button’s text.

    Goal: “Gift Now via PayPal” on button using fancy 2 on product page.

    I am not a code person and have spent lots of time looking in forums, watching videos and trying different things.

    Thanks

    July 27, 2013 at 12:23 am #56795
    admin
    Keymaster

    You have to use a custom button image (the text approach won’t work here). Here is what you do:

    Step 1) Create a button image that says “Gift Now via PayPal”. Now, upload this button image to your site and keep the URL handy.

    Step 2) Edit your eStore product in question

    Step 3) Use the button image URL (refer to step 1) in the “Button Image URL” field of this product.

    Now, wherever you place a buy now or donate button for this product, you will see a button that uses the button image you created in step 1. This approach allows you to create an image with whatever you want it to say then use it for your eStore product button.

    Do the above 3 steps I mentioned then check the page where you have your button and you will see how it works.

    July 27, 2013 at 12:37 am #56796
    cadives
    Member

    Thanks but how do I create a button image? I really have been looking through the forum.

    July 27, 2013 at 3:35 am #56797
    admin
    Keymaster

    You an use any photo/image editing software to create a custom button image. However, I just created one for you now.

    You can find one from the following page (there is one button that says “gift now via PayPal”:

    http://www.tipsandtricks-hq.com/ecommerce/add-to-cart-button-images-for-shopping-cart-631

    Save that image to your computer then upload it to your site and use it in the plugin.

    July 27, 2013 at 4:11 pm #56798
    cadives
    Member

    Thank you! That worked and looks great!!!!

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ