Support » Plugin: WooCommerce » Products Category Shortcode

  • 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)


Viewing 3 replies - 1 through 3 (of 3 total)
  • 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?

    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?

    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 ?

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