Woocommerce Shortcodes not showing on widget sidebars

Hi, i need some help about using woocommerce shotcodes on widget sidebars, i place a text widget and inside the product shortode but doesnt show.
I checked the functions.php and it has the funtion add_filter( 'widget_text', 'do_shortcode' );, but still shortcode not work, the one i´m trying to use is [products ids="1, 2, 3, 4, 5"].

I really appreciate your help about this. Besides of that i will like to add a touch gesture to the sidemenu if possible to do that?? please let me know.

Thanks

Comments

  • Hey,

    products widget is standard WooCommerce widget and it is not related with theme. So what exactly does not work and where we can check this?

    About 2nd question, it is unfortunately not possible to add touch gesture to the sidemenu.
  • Hi thanks for your answer, im creating blog articles and each one i have a different sidebar, the idea its call from that article specific products by id from the woocommerce store, wich brings the product page, title and price. The problem is the shotcode i paste inside the text widget in that sidebar doesn´t show at all, but if i used the woocommerce product widget by default on the widget area it works, but doesn´t let me to choose by id, thats why im trying to use the shortcode on text widget.

    This a blog article:
    http://ines-sainz.com/wp/infashion-colombiamoda-2014/

    Thanks in advance
  • As we see, there is completely nothing in html what means that this shortcode can't be accepted by WooCommerce sidebar. You can ask plugin's author if is possible to use this shortcode in sidebar but we think that it won't be possible.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.