[IMP] theme_avantgarde: add and customize wsale categories snippet

This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
This commit is contained in:
Antoine (anso)
2025-09-02 09:45:38 +02:00
parent 1c0c638a60
commit 4ff92e6ecc
+24
View File
@@ -25,6 +25,30 @@
'configurator_snippets': { 'configurator_snippets': {
'homepage': ['s_sidegrid', 's_features_wall', 's_carousel', 's_timeline', 's_quadrant'], 'homepage': ['s_sidegrid', 's_features_wall', 's_carousel', 's_timeline', 's_quadrant'],
}, },
'configurator_snippets_addons': {
'website_sale': {
'homepage': [
('website_sale.s_dynamic_snippet_category_list', 'after', 's_carousel'),
],
},
},
'theme_customizations': {
'website_sale.s_dynamic_snippet_category_list': {
'data_attributes': {
'columns': '2',
'alignment': 'right',
},
'add_classes': [
'pt88', 'pb88',
{
's_dynamic_snippet_title': 's_dynamic_snippet_title_aside col-lg-3 flex-lg-column justify-content-lg-start'
},
],
'remove_classes': [
'pt64', 'pb64',
],
},
},
'depends': ['theme_common'], 'depends': ['theme_common'],
'author': 'Odoo S.A.', 'author': 'Odoo S.A.',
'license': 'LGPL-3', 'license': 'LGPL-3',