Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
7259 Переглядів

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



Аватар
Відмінити
Автор

Please, could someone help with ?

Thank you

Найкраща відповідь

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

Аватар
Відмінити
Автор

Hi Axel,

Much appreciated !

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

Thank you

Найкраща відповідь

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! 


Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
квіт. 24
8606
1
трав. 21
4226
1
серп. 16
4839
1
трав. 25
850
0
лист. 24
1462