Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 25
3127
0
dic 23
1658
1
ott 22
3039
0
giu 20
2104
0
dic 17
3703