mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_vehicle: 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
a67da4bf87
commit
bd874608ce
@@ -34,6 +34,33 @@
|
|||||||
'configurator_snippets': {
|
'configurator_snippets': {
|
||||||
'homepage': ['s_cover', 's_title', 's_three_columns', 's_picture', 's_key_images', 's_numbers_charts', 's_media_list'],
|
'homepage': ['s_cover', 's_title', 's_three_columns', 's_picture', 's_key_images', 's_numbers_charts', 's_media_list'],
|
||||||
},
|
},
|
||||||
|
'configurator_snippets_addons': {
|
||||||
|
'website_sale': {
|
||||||
|
'homepage': [
|
||||||
|
('website_sale.s_dynamic_snippet_category_list', 'after', 's_picture'),
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'theme_customizations': {
|
||||||
|
'website_sale.s_dynamic_snippet_category_list': {
|
||||||
|
'template_key': (
|
||||||
|
'website_sale.dynamic_filter_template_product_public_category_default'
|
||||||
|
),
|
||||||
|
'data_attributes': {
|
||||||
|
'gap': '4',
|
||||||
|
'alignment': 'left',
|
||||||
|
},
|
||||||
|
'background': {
|
||||||
|
'color': 'o_cc2',
|
||||||
|
},
|
||||||
|
'add_classes': [
|
||||||
|
'pt80', 'pb88',
|
||||||
|
],
|
||||||
|
'remove_classes': [
|
||||||
|
'pt64', 'pb64',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
'new_page_templates': {
|
'new_page_templates': {
|
||||||
'about': {
|
'about': {
|
||||||
'personal': ['s_text_cover', 's_image_text', 's_text_block_h2', 's_numbers', 's_features', 's_call_to_action'],
|
'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