Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
7284 Lượt xem

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



Ảnh đại diện
Huỷ bỏ
Tác giả

Please, could someone help with ?

Thank you

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Hi Axel,

Much appreciated !

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

Thank you

Câu trả lời hay nhất

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! 


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 4 24
8630
1
thg 5 21
4250
1
thg 8 16
4841
1
thg 5 25
852
0
thg 11 24
1466