From b58dd9d19d148afbe4199c79904a82113d6a0c74 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Wed, 4 Feb 2026 21:47:39 +0100 Subject: [PATCH] fix: correct shop macro paths to storefront in all macro files Fix self-referencing documentation examples in storefront macros that incorrectly used shared/macros/shop/ instead of storefront/. Co-Authored-By: Claude Opus 4.5 --- app/templates/shared/macros/storefront/add-to-cart.html | 2 +- app/templates/shared/macros/storefront/breadcrumbs.html | 2 +- app/templates/shared/macros/storefront/category-nav.html | 2 +- app/templates/shared/macros/storefront/filter-sidebar.html | 2 +- app/templates/shared/macros/storefront/mini-cart.html | 2 +- app/templates/shared/macros/storefront/product-card.html | 2 +- app/templates/shared/macros/storefront/product-gallery.html | 2 +- app/templates/shared/macros/storefront/product-grid.html | 4 ++-- app/templates/shared/macros/storefront/product-info.html | 2 +- app/templates/shared/macros/storefront/product-tabs.html | 2 +- app/templates/shared/macros/storefront/reviews.html | 4 ++-- app/templates/shared/macros/storefront/search-bar.html | 2 +- app/templates/shared/macros/storefront/star-rating.html | 2 +- app/templates/shared/macros/storefront/trust-badges.html | 2 +- app/templates/shared/macros/storefront/variant-selector.html | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) diff --git a/app/templates/shared/macros/storefront/add-to-cart.html b/app/templates/shared/macros/storefront/add-to-cart.html index 7d35132e..a17dc1ec 100644 --- a/app/templates/shared/macros/storefront/add-to-cart.html +++ b/app/templates/shared/macros/storefront/add-to-cart.html @@ -4,7 +4,7 @@ Standardized add-to-cart functionality with quantity selector. Usage: - {% from 'shared/macros/shop/add-to-cart.html' import add_to_cart_button, add_to_cart_form %} + {% from 'shared/macros/storefront/add-to-cart.html' import add_to_cart_button, add_to_cart_form %} #} diff --git a/app/templates/shared/macros/storefront/breadcrumbs.html b/app/templates/shared/macros/storefront/breadcrumbs.html index 0f37893f..bdb8cc21 100644 --- a/app/templates/shared/macros/storefront/breadcrumbs.html +++ b/app/templates/shared/macros/storefront/breadcrumbs.html @@ -4,7 +4,7 @@ Navigation breadcrumb trail for shop pages. Usage: - {% from 'shared/macros/shop/breadcrumbs.html' import shop_breadcrumbs, auto_breadcrumbs %} + {% from 'shared/macros/storefront/breadcrumbs.html' import shop_breadcrumbs, auto_breadcrumbs %} #} diff --git a/app/templates/shared/macros/storefront/category-nav.html b/app/templates/shared/macros/storefront/category-nav.html index 366ac5bf..f95a5282 100644 --- a/app/templates/shared/macros/storefront/category-nav.html +++ b/app/templates/shared/macros/storefront/category-nav.html @@ -4,7 +4,7 @@ Category browsing sidebar and menu for shop navigation. Usage: - {% from 'shared/macros/shop/category-nav.html' import category_nav, category_tree, category_menu %} + {% from 'shared/macros/storefront/category-nav.html' import category_nav, category_tree, category_menu %} #} diff --git a/app/templates/shared/macros/storefront/filter-sidebar.html b/app/templates/shared/macros/storefront/filter-sidebar.html index a705ed3b..58d9ef0a 100644 --- a/app/templates/shared/macros/storefront/filter-sidebar.html +++ b/app/templates/shared/macros/storefront/filter-sidebar.html @@ -4,7 +4,7 @@ Product filtering panel for category and search pages. Usage: - {% from 'shared/macros/shop/filter-sidebar.html' import filter_sidebar, filter_group, price_filter, rating_filter %} + {% from 'shared/macros/storefront/filter-sidebar.html' import filter_sidebar, filter_group, price_filter, rating_filter %} #} diff --git a/app/templates/shared/macros/storefront/mini-cart.html b/app/templates/shared/macros/storefront/mini-cart.html index ba64289c..35a8f41b 100644 --- a/app/templates/shared/macros/storefront/mini-cart.html +++ b/app/templates/shared/macros/storefront/mini-cart.html @@ -4,7 +4,7 @@ Cart preview dropdown and cart item components. Usage: - {% from 'shared/macros/shop/mini-cart.html' import mini_cart, cart_icon_button, cart_item %} + {% from 'shared/macros/storefront/mini-cart.html' import mini_cart, cart_icon_button, cart_item %} #} diff --git a/app/templates/shared/macros/storefront/product-card.html b/app/templates/shared/macros/storefront/product-card.html index b51141df..0717ce1a 100644 --- a/app/templates/shared/macros/storefront/product-card.html +++ b/app/templates/shared/macros/storefront/product-card.html @@ -39,7 +39,7 @@ } Usage: - {% from 'shared/macros/shop/product-card.html' import product_card %} + {% from 'shared/macros/storefront/product-card.html' import product_card %}