• Resolved ikaroweb

    (@ikaroweb)


    I’ve created a shortcode like this:

    [products limit=”18″ paginate=”true”?columns=”3″ category=”sun, eyeglasses” cat_operator=”IN”]

    But the system show only the products inside the category “sun”, of course the category eyeglasses have products inside.

    How can i fix ?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    The shortcode looks fine to me. Could you share the page URL so we can take a closer look?

    Please also share a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.

    Thread Starter ikaroweb

    (@ikaroweb)

    Hello,

    The site is under construction, how can i send the link via dm ?

    Plugin Support Dani F. a11n

    (@danielinhou)

    Hi there @ikaroweb ????

    Thanks for the update! Could you please copy and paste the exact shortcode that I am including below and see how it works?

    [products limit="18" paginate="true" columns="3" category="sun, eyeglasses" cat_operator="IN"]

    I have done a test on my site and replacing the quotemarks that you were using for the ones above worked for me.

    If that doesn’t solve the issue you would want to verify the slug of the categories and also that there published products on them.

    Keep us posted, we’ll be glad to keep troubleshooting this issue with you

    Cheers

    Thread Starter ikaroweb

    (@ikaroweb)

    Hi @danielinhou

    I’ve changed the slug with ID:

    [products limit="18" paginate="true" columns="3" category="211, 245" cat_operator="IN"]

    But show only products of the category id 211 and not 245.

    • This reply was modified 3 years, 8 months ago by ikaroweb.

    Hi @ikaroweb

    Does that same behavior persist if you temporarily switch to a default theme such as Storefront and deactivate all plugins except for WooCommerce?

    Hi @ikaroweb

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Products shortcode’ is closed to new replies.