Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Buy Now and Add to Cart Custom Buttons (different button image for same product)
Tagged: button image, buy button, customizing buttons
- This topic has 5 replies, 5 voices, and was last updated 14 years, 3 months ago by Ivy.
-
AuthorPosts
-
August 14, 2010 at 6:42 pm #1683axellonlineMember
I added a custom Add to cart button in the Button Image URL for the product. It worked, but the big but, when I added the buy now button short code to the same page the code referenced the Add to cart button. Thusly, producing two identical custom buttons with different functions. Is it possible to have two custom buttons – Add to Cart and Buy Now?
August 15, 2010 at 2:10 am #23381amin007ParticipantPlease read this post which will clarity the difference button types and button look & feel:
Now, you have a few options…
Option 1) Use the following shortcode to add your “Buy Now” type buttons which allows you to specify the button image dynamically:
[wp_eStore_buy_now_custom_button id="1" button="http://example.com/images/buy-now.jpg"]
All the available shortcodes are explained here:
Option 2) Create another product for different types of buttons.
Check the following post to learn how to customize the image of the buttons:
Option 3) You can also use the text link buy now button feature. That allows you to link one of your images and use that as a Buy Now link. Details of how to use this is here:
August 15, 2010 at 11:02 pm #23382axellonlineMemberGreat. Thanks again.
August 23, 2010 at 5:42 pm #23383LRwordpress_userMemberHi I had a question using the shortcut code to add a custom pay now image. I used the shortcut code in one of my posts for example:
[wp_eStore_buy_now_custom_button id=1 button=http://www.huahinadventuretour.com/images/icon-pay-now.jpg]
and the image didn’t display for the icon, only the text that says “Buy Now”. Any ideas on why this didn’t work? Am I not using it properly?
EDIT: Actually it works for that image I used just not with another image I had. I think it’s a hyperlink error.
August 23, 2010 at 11:01 pm #23384wpCommerceModeratorCan you please post a link to the page where you are using that shortcode?
August 24, 2010 at 1:03 am #23385IvyMemberHi, This is not a eStore short code:
[wp_eStore_buy_now_custom_button id=1 button=http://www.huahinadventuretour.com/images/icon-pay-now.jpg]
If you want to use a custom button image all you need to do is go to “Add/Edit Products” and specify the image URL in the “Button Image URL” option under “Additional Details”.
Then use one of the eStore’s shortcodes to display the product on the page. You can find a list of all the shortcodes here:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
-
AuthorPosts
- You must be logged in to reply to this topic.