Home › Forums › JOOP WordPress theme › showing categories
- This topic has 6 replies, 2 voices, and was last updated 10 years, 11 months ago by Anonymous.
-
AuthorPosts
-
-
at #13627vicent beneitoMember
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.compresents/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
-
at #13630AnonymousInactive
Hi 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
-
at #13631vicent beneitoMember
thanks, 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.compresents/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”]
-
at #13636vicent beneitoMember
I’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
-
at #13641AnonymousInactive
Ok, 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?
-
at #13648vicent beneitoMember
yes, 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
-
at #13654AnonymousInactive
Hi 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.