Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
7290 Ansichten

Hello,

Because my shop is going to display large product titles, I need product URLs to be short.

Just enough for me getting ID in product URLs.


e.g.

/shop/product/10

instead of

/shop/product/ipad-retina-display-10


Any way to have product URLs displaying ID only instead of product title+ID?

Would prefer not using any module just for this.


Thank you!

Greetings



Avatar
Verwerfen
Autor

Please, could someone help with ?

Thank you

Beste Antwort

Hi Laremi

You could do it using the noslug module here:

https://gitlab.com/aek/riquo/tree/master/addons/noslug

That will remove the generation of slug URLs in Odoo Website Modules

Slug URLs are those that contains the display name of the record among the id

Avatar
Verwerfen
Autor

Hi Axel,

Much appreciated !

It works perfectly, no slug is a useful point for eCommerce having large product titles.

Thank you

Beste Antwort

Hello Laremi,

Yes you can change the shop URL with your desired product title or product ID with this custom Odoo application 

https://apps.odoo.com/apps/modules/17.0/ewall_seo_urls/  

We believe this will solve the problem! 


Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Apr. 24
8641
1
Mai 21
4253
1
Aug. 16
4843
1
Mai 25
877
0
Nov. 24
1477