Query all products ID under a specify category
Q: Is there a way to query all products ID under a specify category?
A: You can use the following commands:
query_posts('category_name=categoryname')
or
query_posts( array ('post_type' => 'products', 'category_name'=>' categoryname' ) );
-
Getting Started
-
Jigoshop Settings
-
Creating Products
-
Using Jigoshop
-
Customize Jigoshop
-
Testings – in case of problems on Jigoshop web site
-
FAQ – Jigoshop plugin user questions
- Add a new tab to a product page / Custom tabs on product pages?
- Adding a Continue Shopping button to the single product page
- Adding Product Category Terms in a dropdown box for Custom Post Meta
- Add Alternate text on product picture and title
- Adding buttons / info to the end of each product
- View all (171 more)
-
FAQ – Jigoshop extensions user questions
-
API
-
Screencasts