YOUR CART: 0 products
Home › SUPPORT FORUMS › JOOP WordPress theme › showing categories
This topic contains 6 replies, has 2 voices, and was last updated by
kevin(Staff) 2 months, 2 weeks ago.
-
AuthorPosts
-
13/01/2014 at 9:06 AM #13627
hello
As an example, I have 3 products in the category “product-2″ and 3 products in the category “product-3″, and all 6 products belongs to the category “product-0″ too.
I create a page like this (Shop 3 Column Layout [product_category category="product-0" per_page="9" columns="3" orderby="date" order="desc"]) and its menu item. when I click in it, the products are showed like in http://theme-dutch.com/presents/joop/shop-3-column-layout/ but the text of the category in all products is “product-0″.
Is there any way to show the text of the other category, to which they belong, in each product?
thanks
13/01/2014 at 9:47 AM #13630Hi Vicent,
I’m guessing you mean in the hover information? (where these say “preview, sell concept or furniture”)
I don’t think that’s currently possible. I could however ask our development team to look into having it display all the product’s categories instead of only one of them. If that’s what you’re looking for. It will then be like on the product page itself, that shows all assigned categories.
Kind regards,
Kevin
13/01/2014 at 9:59 AM #13631thanks, but not exactly…
I will try to explain… perhaps I may be complicating and the solution is clear…
I have any products in category “product-1″, and any products in category “product-2″, and any products in category “product-n”… (forgetting the previous category “product-0″)
I want a menu item that show all the products (in the hover information its own category) (in the way of http://theme-dutch.com/presents/joop/shop-3-column-layout/) … something like [product_category category="product-1,product-2,product-n" per_page="9" columns="3" orderby="date" order="desc"]
13/01/2014 at 4:09 PM #13636I’ve tested adding two lines in the “shop-3-column-layout” like this:
[product_category category="product-1" per_page="9" columns="3" orderby="date" order="desc"][product_category category="product-2" per_page="9" columns="3" orderby="date" order="desc"]
but, when they are shown, the thumbs of “product-2″ are separated. each category is in separated divs:
<div class=”entry-content”>
<div class=”woo-commerce”>
<ul class=”products”>category products-1</ul>
</div>
<div class=”woo-commerce”>
<ul class=”products”>category products-2</ul>
</div>
</div>with a space between them
how could the categories be shown in the same woo-commerce div…?
thanks
14/01/2014 at 11:42 AM #13641Ok, so basically you’d be looking to add multiple categories in one product_category shortcode so that they all show up in the same grid overview and get ordered by date, not by category.
Is that correct?
15/01/2014 at 7:00 AM #13648yes, I’ve solved this… I assign to each product its category and also a category named “zzz” (it’s always the last). when I show the category “zzz” all the products is shown by his first category (products-1, products-2…) and never is shown the “zzz” category in the hover information.
thanks
15/01/2014 at 12:03 PM #13654Hi Vicent,
That’s a smart fix! good one.
I’ll still post a suggestion to allow for multiple categories to be addressed in one shortcode as I do think that could be a useful thing to have.
Thanks a lot for your feedback
Kevin
-
AuthorPosts
You must be logged in to reply to this topic.




