URL

Phoca Cart - complex e-commerce extension
litvi
Phoca Member
Phoca Member
Posts: 32
Joined: 01 Mar 2023, 09:58

URL

Post by litvi »

Ahoj,
je možné pro phoca cart vytvořit jednoúrovňové url?
Děkuji
Jirka
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: URL

Post by Jan »

Ahoj, co přesně máš na mysli pod pojmem jednoúrovňové URL?
If you find Phoca extensions useful, please support the project
litvi
Phoca Member
Phoca Member
Posts: 32
Joined: 01 Mar 2023, 09:58

Re: URL

Post 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
User avatar
sulpher
Phoca Professional
Phoca Professional
Posts: 104
Joined: 28 Feb 2017, 09:45

Re: URL

Post 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:

Image

Image

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).
mino182
Phoca Professional
Phoca Professional
Posts: 189
Joined: 12 Feb 2015, 13:30

Re: URL

Post by mino182 »

Alebo si mozes vytvorit presmerovanie v core komponente Presmerovania (com_redirects).
litvi
Phoca Member
Phoca Member
Posts: 32
Joined: 01 Mar 2023, 09:58

Re: URL

Post 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.
Post Reply