- This topic has 1 reply, 2 voices, and was last updated 7 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore plugin – custom button text shortcode
Is there a way to get an Add to Cart button to display custom text via the shortcode? I need some flexibility so can’t use the universal change on the edit product page. I tried:
[wp_eStore_add_to_cart name=”2year” id=161 button-text=”Add 2 year subscription to cart” ]
but that still has a button with the standard Add to Cart text. Any suggestions?
You can specify a custom button image via the shortcode parameter. Below is an example of how to use it:
[wp_eStore_add_to_cart id=161 button_image=”http://www.yoursite.com/button-image.jpg”%5D