WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Products Category Shortcode (4 posts)

  1. ka2id
    Member
    Posted 1 year 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)

    Thanks!

    http://wordpress.org/extend/plugins/woocommerce/

  2. Coen Jacobs
    Member
    Plugin Author

    Posted 1 year 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. ka2id
    Member
    Posted 1 year 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
    Member
    Posted 7 months 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

About this Topic

Tags

No tags yet.