mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_yes: 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:
committed by
Antoine (anso)
parent
73bcbfb872
commit
b11d9e70ac
@@ -91,6 +91,32 @@
|
||||
'configurator_snippets': {
|
||||
'homepage': ['s_kickoff', 's_title', 's_company_team', 's_image_text_overlap', 's_features', 's_freegrid', 's_quotes_carousel', 's_call_to_action'],
|
||||
},
|
||||
'configurator_snippets_addons': {
|
||||
'website_sale': {
|
||||
'homepage': [
|
||||
('website_sale.s_dynamic_snippet_category_list', 'after', 's_features'),
|
||||
],
|
||||
},
|
||||
},
|
||||
'theme_customizations': {
|
||||
'website_sale.s_dynamic_snippet_category_list': {
|
||||
'data_attributes': {
|
||||
'columns': '2',
|
||||
'gap': '3',
|
||||
'size': 'small',
|
||||
'alignment': 'left',
|
||||
},
|
||||
'background': {
|
||||
'color': 'o_cc2',
|
||||
},
|
||||
'add_classes': [
|
||||
'pt32',
|
||||
],
|
||||
'remove_classes': [
|
||||
'pb64', 'pt64',
|
||||
],
|
||||
},
|
||||
},
|
||||
'new_page_templates': {
|
||||
'about': {
|
||||
'personal': ['s_text_cover', 's_image_text', 's_text_block_h2', 's_numbers', 's_features', 's_call_to_action'],
|
||||
|
||||
Reference in New Issue
Block a user