mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_graphene: 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
bd874608ce
commit
d3cff708b0
@@ -27,6 +27,35 @@
|
||||
'personal': ['s_text_cover', 's_image_text', 's_text_block_h2', 's_numbers', 's_features', 's_call_to_action'],
|
||||
},
|
||||
},
|
||||
'configurator_snippets_addons': {
|
||||
'website_sale': {
|
||||
'homepage': [
|
||||
('website_sale.s_dynamic_snippet_category_list', 'after', 's_mockup_image'),
|
||||
],
|
||||
},
|
||||
},
|
||||
'theme_customizations': {
|
||||
'website_sale.s_dynamic_snippet_category_list': {
|
||||
'data_attributes': {
|
||||
'alignment': 'left',
|
||||
},
|
||||
'template_key': (
|
||||
'website_sale.dynamic_filter_template_product_public_category_default'
|
||||
),
|
||||
'background': {
|
||||
'color': 'o_cc2',
|
||||
},
|
||||
'add_classes': [
|
||||
'pt96', 'pb96',
|
||||
{
|
||||
's_dynamic_snippet_title': 'd-none',
|
||||
},
|
||||
],
|
||||
'remove_classes': [
|
||||
's_dynamic_category_clickable_items', 'pt64', 'pb64',
|
||||
],
|
||||
},
|
||||
},
|
||||
'depends': ['theme_common'],
|
||||
'author': 'Odoo S.A.',
|
||||
'license': 'LGPL-3',
|
||||
|
||||
Reference in New Issue
Block a user