Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6499 มุมมอง

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
7515
1
พ.ค. 21
3719
1
ส.ค. 16
4224
0
พ.ย. 24
576
0
มี.ค. 24
739