From 0f8ece7277fcfbb3a377b821ee82489bb93a5f0a Mon Sep 17 00:00:00 2001 From: "Julien (jdeh)" Date: Wed, 3 Sep 2025 10:47:19 +0200 Subject: [PATCH] [IMP] theme_paptic: add and customize wsale categories snippet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- theme_paptic/__manifest__.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/theme_paptic/__manifest__.py b/theme_paptic/__manifest__.py index 2d3ba364b..8f9af4a63 100644 --- a/theme_paptic/__manifest__.py +++ b/theme_paptic/__manifest__.py @@ -20,6 +20,29 @@ 'configurator_snippets': { 'homepage': ['s_cover', 's_references', 's_image_text', 's_text_image', 's_masonry_block_images_template', 's_faq_list', 's_cta_box'], }, + 'configurator_snippets_addons': { + 'website_sale': { + 'homepage': [ + ('website_sale.s_dynamic_snippet_category_list', 'after', 's_image_text'), + ], + }, + }, + 'theme_customizations': { + 'website_sale.s_dynamic_snippet_category_list': { + 'template_key': ( + 'website_sale.dynamic_filter_template_product_public_category_default' + ), + 'data_attributes': { + 'rounded': '3', + 'gap': '3', + 'size': 'small', + 'alignment': 'left', + }, + 'remove_classes': [ + 's_dynamic_category_clickable_items', + ], + }, + }, 'new_page_templates': { 'about': { 'personal': ['s_text_cover', 's_image_text', 's_text_block_h2', 's_numbers', 's_features', 's_call_to_action'],