[Plugin: Cart66 Lite :: WordPress Ecommerce] Add To Cart shortcode doesn't work in sidebar
Add this to your functions.php
// Use shortcodes in text widgets. add_filter('widget_text', 'do_shortcode');
I am having a similar issue. The shortcode [ceckout_paypal] is not rendering on my page. Can you help?
Are you sure you wrote it properly? I mean, [checkout_paypal]? This can be of assistance, but you know where to put it. I don’t have enough details from you to help you, but you can try putting it under ‘the content’ in your single.php or your page.php
<?php echo do_shortcode( '[checkout_paypal]' ); ?>
Thank you for responding.
Here’s some more information. I am creating a sort of squeeze page and want people to be able to click the “buy now” paypal button to process their order, i’m only selling one thing so i’m not using the usual store set up, hence the shortcode. I have the understanding that i am able to put [checkout_paypal] shortcode to create this button, according to the documentation for this plugin (http://cart66.com/cart66lite-documentation.pdf)
Here’s what’s happened so far, the button has only appeared on my page AFTER i tested to see if the cart66lite [add_to_cart item=”X”] shortcode works, which it does. It seems to make the [checkout_paypal] shortcode show up but only sometimes. But even if it does, it just disappears ten minutes later. If i place the [checkout_paypal] shortcode on the page alone, it just simply doesn’t render. I know the [checkout_paypal] shortcode is somewhat functional though, because i’ve been able to make a purchase and download my product. But then it just disappears and doesn’t come back. The shortcode shows in the visual editor but is not rendering on the page once published. I completely lost in this, not sure if it’s the code around the shortcode, but if it is then why does the other shortcode work? Here is what the HTML editor shows around the [checkout_paypal] shortcode: “</span></p>
Go to cart66 web site, scroll down to number 4 and find paypal settings. Compare those settings with yours, and hopefully that will help you.
- The topic ‘[Plugin: Cart66 Lite :: WordPress Ecommerce] Add To Cart shortcode doesn't work in sidebar’ is closed to new replies.