problem with category urls

Phoca Cart - complex e-commerce extension
erapaglia
Phoca Member
Phoca Member
Posts: 18
Joined: 31 Mar 2022, 18:26

problem with category urls

Post by erapaglia »

hi, i need help.

The problem is with the categories module, but also from the top menu

I have 2 categories
drinks / beers

if I click on drinks
the product link is without the beers category

if I click on beers
the product link is right


phoca cart the latest 4.00
joomla the latest 4.xx

Screen
https://imgur.com/a/VezQggt

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with category urls

Post by Jan »

Hi, I am not sure if I understand it correctly. But why should product link which is a part of drinks category include beer category too?

I mean if the product is a part of drinks category then the beers should not be a part of the URL :idea:

Jan
If you find Phoca extensions useful, please support the project
erapaglia
Phoca Member
Phoca Member
Posts: 18
Joined: 31 Mar 2022, 18:26

Re: problem with category urls

Post by erapaglia »

Yes Jan and thanks for the reply :-)

Beer is part of the beverage category, but the beer product, under the beverage category (as you can see from the images I have attached), is addressed via a url in which the beer category is missing

Ich habe das ganze in prestashop und möchte so gerne auf phocart umsteigen :-) grins, weil ich die Joomla Struktur seit es Mambo gab kenne, nur warum da die Bier-Kategorie nicht anzeigt, bleibt mir ein Rätsel :-9, hab sogar versucht dein code zu vergewaltigen.
Ich habe Hauptkategorie und Unterkategorie mit Categories Items Views

Gruß Ezekiel
erapaglia
Phoca Member
Phoca Member
Posts: 18
Joined: 31 Mar 2022, 18:26

Re: problem with category urls

Post by erapaglia »

Hallo Jan, i work with lots of subcategories :-(,

selbst bier hat unterkategorien

please help
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with category urls

Post by Jan »

Beer is part of the beverage category, but the beer product, under the beverage category (as you can see from the images I have attached), is addressed via a url in which the beer category is missing
I still don't understand teh problem. If beer product is inside beverage category and not inside the beer category, then it just will not include the subcategory name in URL.
If you find Phoca extensions useful, please support the project
erapaglia
Phoca Member
Phoca Member
Posts: 18
Joined: 31 Mar 2022, 18:26

Re: problem with category urls

Post by erapaglia »

hello jan,
beer is only inside the beer category and not inside the beverage category

the beverage category must only show all products (with the right unique url) from the different subcategories, is that possible?

if instead I use products view (and not category view)

it works as I want, but the categories module shows a wrong url:
tirchi.com/bevande/bevande (with 2 of the same beverage category) and the filters not works
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with category urls

Post by Jan »

Hi, you can set that parent category can even display products from its subcategories:

Image

Jan
If you find Phoca extensions useful, please support the project
erapaglia
Phoca Member
Phoca Member
Posts: 18
Joined: 31 Mar 2022, 18:26

Re: problem with category urls

Post by erapaglia »

Sorry jan that's not works :-( it is enabled (display products from all subcategories), but the category view not shows products from subcategories.

If i set the up category in the product too, yes he shows the produts from the subcategories, but the link to the product is wrong(missing subcategorie)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with category urls

Post by Jan »

Hmmm, really hard to say what can be wrong there. Testing now on my test servers, the subcategories are displayed normally in the URL :idea:

Jan
If you find Phoca extensions useful, please support the project
erapaglia
Phoca Member
Phoca Member
Posts: 18
Joined: 31 Mar 2022, 18:26

Re: problem with category urls

Post by erapaglia »

problem solved with the new phoca cart update :-), i don`t now why. now i can see everything with the right UNIQUE url
Post Reply