Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
7241 Visualizzazioni

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
Abbandona
Autore

Please, could someone help with ?

Thank you

Risposta migliore

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
Abbandona
Autore

Hi Axel,

Much appreciated !

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

Thank you

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
apr 24
8584
1
mag 21
4220
1
ago 16
4832
1
mag 25
827
0
nov 24
1453