Products Category Shortcode (4 posts)

  1. Kekeli
    Posted 3 years ago #

    Right now I am using the following shortcode to display one of my categories on a page
    [product_category category="weaves" per_page="30" columns="4" orderby="date" order="desc"]

    Thing is, there are a lot more than 30 products in the category, but it only shows whatever number is in the per_page part or 10 if there is nothing and there is no pagination stuff to see all the other products, is there a way around it (ideally I would like 24 per page and then "next" or pagination so that one could view all the others)



  2. Coen Jacobs
    Posted 3 years ago #

    This is not possible and it is generally not what shortcodes should be used for (not just within WooCommerce). Shortcodes are aimed to do one thing on a specific page, not offer advanced functionality like pagination or anything.

    What's wrong with the traditional category archives, that you are trying to do this?

  3. Kekeli
    Posted 3 years ago #

    Well I wanted it in a page setup because I want to give each category its own page template. Is it possible to to determine the page page template if I use the traditional category archives?

  4. oracle9
    Posted 2 years ago #

    I have the same problem ,, agree with ka2id as I need each category on a page to give it it's own template ... any help ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.