mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_artists: 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:
@@ -133,6 +133,32 @@
|
||||
'configurator_snippets': {
|
||||
'homepage': ['s_sidegrid', 's_product_catalog', 's_cta_box', 's_title', 's_image_frame', 's_images_wall', 's_shape_image'],
|
||||
},
|
||||
'configurator_snippets_addons': {
|
||||
'website_sale': {
|
||||
'homepage': [
|
||||
('website_sale.s_dynamic_snippet_category_list', 'after', 's_sidegrid'),
|
||||
],
|
||||
},
|
||||
},
|
||||
'theme_customizations': {
|
||||
'website_sale.s_dynamic_snippet_category_list': {
|
||||
'template_key': (
|
||||
'website_sale.dynamic_filter_template_product_public_category_default'
|
||||
),
|
||||
'data_attributes': {
|
||||
'rounded': '0',
|
||||
},
|
||||
'background': {
|
||||
'color': 'o_cc5',
|
||||
},
|
||||
'add_classes': [
|
||||
'pb104',
|
||||
],
|
||||
'remove_classes': [
|
||||
's_dynamic_category_clickable_items', 'pb64',
|
||||
],
|
||||
},
|
||||
},
|
||||
'author': 'Odoo S.A.',
|
||||
'license': 'LGPL-3',
|
||||
'live_test_url': 'https://theme-artists.odoo.com',
|
||||
|
||||
Reference in New Issue
Block a user