diff --git a/themes/default/category.blade.php b/themes/default/category.blade.php index 12e5a2be..1283d74c 100644 --- a/themes/default/category.blade.php +++ b/themes/default/category.blade.php @@ -9,10 +9,9 @@ -
@foreach ($products as $product) -
@include('layout.product')
+
@include('shared.product')
@endforeach
diff --git a/themes/default/home.blade.php b/themes/default/home.blade.php index fc99c7be..fd796c92 100644 --- a/themes/default/home.blade.php +++ b/themes/default/home.blade.php @@ -34,7 +34,7 @@
@foreach ($products as $product)
- @include('layout.product') + @include('shared.product')
@endforeach
diff --git a/themes/default/pages/cart.blade.php b/themes/default/pages/cart.blade.php index 6f78915f..0cff8cca 100644 --- a/themes/default/pages/cart.blade.php +++ b/themes/default/pages/cart.blade.php @@ -12,7 +12,7 @@
-
@include('layout.steps', ['steps' => 1])
+
@include('shared.steps', ['steps' => 1])
diff --git a/themes/default/shared/product.blade.php b/themes/default/shared/product.blade.php new file mode 100644 index 00000000..94b0e5c7 --- /dev/null +++ b/themes/default/shared/product.blade.php @@ -0,0 +1,8 @@ +
+
+
{{ $product['name'] }}
+
+ $55.00 + $125.00 +
+
\ No newline at end of file diff --git a/themes/default/layout/steps.blade.php b/themes/default/shared/steps.blade.php similarity index 100% rename from themes/default/layout/steps.blade.php rename to themes/default/shared/steps.blade.php