Products not Showing up/Pagination not Working

Home >> Forums >> Products >> Woocommerce ShortCodes Products By Categories – An Woocommerce Extension >> Products not Showing up/Pagination not Working

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by Administrator Administrator 1 year, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #1422
    Profile photo of info
    Post count: 2

    I am trying to display a category on page using the [wcpbc_featured_products category=’728,315,223’ per_page=’12’ columns=’4’ pages=’5’] shortcode. In my case, I am using my product category accessories with the following shortcode
    [wcpbc_featured_products category=’accessories’ per_page=’24’ columns=’3’ pages=’9’]

    But when I put that shortcode in to the page, it is not showing any products from my accessories category. Also, as I add more products to that category, do I always have to update the number of pages based on how many products are in my particular category. For instance, I have 212 products in that category, which is 9 pages for 24 per page. If I added more products, say up to 240, would I have to update the shortcode to pages=’10’?

    • This topic was modified 1 year, 11 months ago by Profile photo of info info. Reason: one typo
    Post count: 291


    Thank you for purchasing our plugin.

    Please use category code instead of category slug in shortcode like [wcpbc_featured_products category=”129″ per_page=”24″ columns=”3″ pages=”9″]

    Here 129 is category code of category “accessories”. In order to find category code please check this blog How to Find a Category ID in Woocommerce.

    Again, If you want to show all product in specified category regardless of pages, do not use pages attribute in shortcode. ie [wcpbc_featured_products category=”129″ per_page=”24″ columns=”3″]. It will show all featured products lying on category (Category Code 128) with pagination.

    Hope that would help you.

    Team WP-Zone

    Post count: 291

    Hope your problem has been resolved

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Products not Showing up/Pagination not Working’ is closed to new replies.