Skip to Content
Menu
You need to be registered to interact with the community.
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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jun. 25
3108
0
dec. 23
1654
1
okt. 22
3033
0
jun. 20
2102
0
dec. 17
3696