Skip to Content
Menu
This question has been flagged

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
Zrušiť
Best Answer

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
jún 25
3058
0
dec 23
1554
1
okt 22
3011
0
jún 20
2085
0
dec 17
3623