- This topic has 2 replies, 2 voices, and was last updated 14 years, 6 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 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 General Questions › Is it possible to put a buy now button in a widget?
The normal shortcode doesn’t work. I found this code:
<?php echo print_eStore_buy_now_button(1); ?>
in the reference guide, but it doesn’t seem to work inside of a widget either. Is there another way?
I’d just like to use a text widget so I can put some text before the button.
Hi, You will need to use a plugin that allows you to execute PHP in a widget (e.g. widgify ). There are many different plugins out there that will allow you to do this, a simple Google search should do the trick.
After you install the plugin then you can use the PHP function. You can find all the PHP functions and shortcodes here:http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
Let me know if you need anything else.
Cheers,
Ivy
Okay, thank you so much. That works great.