Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

V18
Hi,
plz help me embed html, css, js in odoo website.


For example, if I want to create a feature for my Odoo website that isn’t available in the built-in customization options, how can I do that? Also, how can I set an action for that HTML part so it works seamlessly with other modules?

This is what I'am trying to build:

https://arsenaldirect.arsenal.com/Mens/Mens-Kit/Arsenal-adidas-25-26-Third-Shirt/p/MJI9556


Avatar
Buang
Jawaban Terbai

The answer here is a custom theme. 
Building you own theme allows you to create new snippets (building blocks) and modify the basic website pages (product page, shop page, etc) as you would other backend views, using template inheritance. It can get quite messy fast, the dev experience working with snippets is not that great and quite opaque, but anything can be achieved. It even allows you to insert OWL components, meaning you can build pretty much anything that a modern web framework can.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jun 25
3108
0
Des 23
1654
1
Okt 22
3033
0
Jun 20
2102
0
Des 17
3696