- This topic has 0 replies, 1 voice, and was last updated 14 years, 6 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 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 › Simple PayPal Shopping Cart › Simple Shopping Cart Tweaks › Using the "Add to Cart" button on the Sidebar
Tagged: php on sidebar
PHP code doesn’t work in normal Text Widget.. you will need to get a PHP executable plugin that allows you to add PHP code (this is just like text widget but lets you execute PHP code) too.
Try the following page (read the “How to Display Button(s) on the Sidebar” secton) that will shed some light on this:
Once you get that plugin mentioned on that page then use the following in a PHP Code widget:
<?php echo print_wp_cart_button_for_product("Emerald Wedding Site", 1.00); ?>