Page 1 of 1

how to display on frontend all categories of one product belongs to?

Posted: 20 Sep 2023, 00:51
by Net
Hi,

while i was creating products, i assigned to each product multiple categories, ...for example i used categories for location and type of a product....ie. category1: locationX: , category2: Location Z, category3: typeY, category4: typeW....etc

Now when in the frond-end i open certain product to view it, it doesnt show to which categories does this product belong to, ...how can this be done? each product ahs at least two categories asigned to it...i am not sure if i am clear enough in my explanation :idea:

Re: how to display on frontend all categories of one product belongs to?

Posted: 20 Sep 2023, 02:27
by Nidzo
I think you can't because of ability to assign multiple categories to one product.
Maybe you can create tags as categories names and display them 🤔

Re: how to display on frontend all categories of one product belongs to?

Posted: 21 Sep 2023, 08:31
by Net
Nidzo wrote: ↑20 Sep 2023, 02:27 I think you can't because of ability to assign multiple categories to one product.
Maybe you can create tags as categories names and display them 🤔
Is there any workaround to do this? ...i really need in product page in the front-end to be visible in which other categories every product is located.

Re: how to display on frontend all categories of one product belongs to?

Posted: 21 Sep 2023, 09:15
by Benno
Hi,
Is there any workaround to do this?
Have you already tried the workaround from Nidzo?
Maybe you can create tags as categories names and display them 🤔
Kind regards,
Benno

Re: how to display on frontend all categories of one product belongs to?

Posted: 21 Sep 2023, 10:29
by Net
Benno wrote: ↑21 Sep 2023, 09:15 Hi,
Is there any workaround to do this?
Have you already tried the workaround from Nidzo?
Maybe you can create tags as categories names and display them 🤔
Kind regards,
Benno
My main concern is if the tag has all the same functionality as the category does?

Re: how to display on frontend all categories of one product belongs to?

Posted: 22 Sep 2023, 14:30
by Net
Would it be maybe possible like related products, to have it displayed as connected categories or something similar?

Re: how to display on frontend all categories of one product belongs to?

Posted: 22 Sep 2023, 17:37
by Jan
Hi, for now there is no such option. Added to feature request: https://github.com/PhocaCz/PhocaCart/issues/170

But as written above, mostly for such function tag or label system is used.

Jan