• Hello

    I wanna create “random product” in my sidebar, and I have two problems:
    1) Where the products save? Or how can I import all id of products to array?
    2) Function [show_products product=”x”] working only in content? Cuz when I put this code to sidebar I receive
    Parse error: syntax error, unexpected 'product' (T_STRING), expecting ']' in

    Thank you in advance for help.

    https://www.ads-software.com/plugins/ecommerce-product-catalog/

Viewing 1 replies (of 1 total)
  • Plugin Author ndre

    (@ndre)

    add this line into functions.php of your theme to use shortcodes in text widget:

    add_filter('widget_text', 'do_shortcode');

Viewing 1 replies (of 1 total)
  • The topic ‘Where products save’ is closed to new replies.