• Hello,
    I am using the following shortcode on a page-

    [sc_product_list 
    columns="3" 
    limit="9" 
    ids="
    049627ac-f5e0-4157-a530-c4b2dbef82bb,c960b061-d321-43e3-a151-8c40b35f0c22,a114295c-198a-4e33-aa47-ab7d07172193"
    search_enabled="true"
    sort_enabled="true"]

    But it shows all the products from my store. Am I doing anything wrong here?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Ivan C.

    (@ivanbsf)

    Hello @mspsrijan!

    It looks like the shortcode might be missing the type="custom" attribute. Here’s how you should include it:

    [sc_product_list columns="3" limit="9" ids="049627ac-f5e0-4157-a530-c4b2dbef82bb,c960b061-d321-43e3-a151-8c40b35f0c22,a114295c-198a-4e33-aa47-ab7d07172193" search_enabled="true" sort_enabled="true" type="custom"]

    Make sure that the entire shortcode is on one line, as shown above. This should display only the specific products you want to show on your page.

    If you have any more questions or need further assistance, feel free to reach out!

    Best,

    Thread Starter Shah Paran Srijan

    (@mspsrijan)

    The solution works, thanks.
    I think you should update the doc. I didn’t see any mention of it on your doc here: https://surecart.com/docs/product-list-guide-shop-page/

    Plugin Support Ivan C.

    (@ivanbsf)

    @mspsrijan
    You are welcome!
    Thanks for the suggestion; I’ve updated the document.

    Don’t hesitate to contact us via our website’s support channel if you have any questions.

    Can you please tell me which datatables are used by Surecart to store information about products? Is it wp_posts, just like WooCommerce? or some other datatable?

    Plugin Support Ivan C.

    (@ivanbsf)

    @aviaggarwal08,

    I saw that you opened a new post about this question and responded there.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Product list shortcode doesn’t filter the product.’ is closed to new replies.