Page 1 of 1
URL
Posted: 18 May 2024, 12:28
by litvi
Ahoj,
je možné pro phoca cart vytvořit jednoúrovňové url?
Děkuji
Jirka
Re: URL
Posted: 20 May 2024, 23:22
by Jan
Ahoj, co přesně máš na mysli pod pojmem jednoúrovňové URL?
Re: URL
Posted: 21 May 2024, 12:19
by litvi
Ahoj,
myslím tím:
www.domena.cz/produkt-123456.
Ale nyní to mám takto:
www.domena.cz/polozka-menu/podkategorie ... ukt-123456
Tak jen zda jden Phoca cart nastavit tak aby v cestě URL byla jen doména a hned produkt.
Dík
Jirka
Re: URL
Posted: 21 May 2024, 13:08
by sulpher
litvi,
It seems you mean there should be a direct alias to the product without heritage of categories.
If there are not too many products, you can create a menu item to the product and hide the menu item:
using such approach you can get the expected result for few products.
But if you need an automatic conversion, then PC doesn't have such feature and probably a custom plugin is needed to change router behaviour (if it is possible to override the router).
Re: URL
Posted: 21 May 2024, 13:16
by mino182
Alebo si mozes vytvorit presmerovanie v core komponente Presmerovania (com_redirects).
Re: URL
Posted: 22 May 2024, 12:42
by litvi
thx for the ideas. I have a lot of products, so I have to leave it as it is. Or do a redirect.