From 5fdb9579a70d179e95b6ba199c22cfe3bb6d77c9 Mon Sep 17 00:00:00 2001 From: Jimmy Hoenderdaal Date: Tue, 12 Nov 2024 14:54:54 +0100 Subject: [PATCH 1/2] Add header footer v3 --- README.md | 5 ++--- .../layouts/checkout/footer.blade.php | 9 +++++++++ .../layouts/checkout/header.blade.php | 16 ++++++++++++++++ 3 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 resources/core-overwrites/layouts/checkout/footer.blade.php create mode 100644 resources/core-overwrites/layouts/checkout/header.blade.php diff --git a/README.md b/README.md index 7e22e50a..a40d3ef8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Rapidez Checkout Theme -An **opinionated** checkout with customer center for [Rapidez](https://github.com/rapidez/rapidez). Easily configurable with your own logo, colors, fonts and style. A fully mobile optimized theme which takes about 1 hour to fully implement. +An **opinionated** checkout with customer center for [Rapidez](https://github.com/rapidez/rapidez). Easily configurable with your own logo, checkout header/footer, colors, fonts and style. A fully mobile optimized theme which takes about 1 hour to fully implement. ![](images/checkout-theme.gif) @@ -26,6 +26,7 @@ Customer center Easily configurable in less than 5 minutes - Colors - Change a total of 8 variables for personal customization - Logo - Simply add your own logo by extending 1 template +- Checkout Header/Footer - Populate these files with relevant usps and links; currently, they use placeholder content and should be replaced with actual brand information - Visuals - Change the look of various types of cards, customer center tiles, etc, by extending well-defined templates Fast checkout experience @@ -88,8 +89,6 @@ php artisan vendor:publish --tag=payment-icons ## Customizations -It is recommended to edit the `config/rapidez/frontend.php` and remove the `login` step. This will enable two step checkout. - If you want you *could* publish the views. But it's recommended to only publish and change the views you need so when there is an update you don't have to compare all views with the new version. Also keep in mind this is an opinionated theme, if you want/need to change a lot it's better to build your own in terms of upgradability. ``` php artisan vendor:publish --provider="Rapidez\CheckoutTheme\ServiceProvider" --tag=views diff --git a/resources/core-overwrites/layouts/checkout/footer.blade.php b/resources/core-overwrites/layouts/checkout/footer.blade.php new file mode 100644 index 00000000..1d266560 --- /dev/null +++ b/resources/core-overwrites/layouts/checkout/footer.blade.php @@ -0,0 +1,9 @@ + diff --git a/resources/core-overwrites/layouts/checkout/header.blade.php b/resources/core-overwrites/layouts/checkout/header.blade.php new file mode 100644 index 00000000..3bb4c336 --- /dev/null +++ b/resources/core-overwrites/layouts/checkout/header.blade.php @@ -0,0 +1,16 @@ +
+ +
+ @foreach (['Wide range of products', 'Free returns', 'All items shown are in stock', 'Free shipping'] as $usp) +
+ + {{ $usp }} +
+ @endforeach +
+
+
From 7232f43e0840ce9c870cc8ccca9def0d2cd7a851 Mon Sep 17 00:00:00 2001 From: Jimmy Hoenderdaal Date: Tue, 12 Nov 2024 14:56:56 +0100 Subject: [PATCH 2/2] revert readme part --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a40d3ef8..325eda40 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,8 @@ php artisan vendor:publish --tag=payment-icons ## Customizations +It is recommended to edit the `config/rapidez/frontend.php` and remove the `login` step. This will enable two step checkout. + If you want you *could* publish the views. But it's recommended to only publish and change the views you need so when there is an update you don't have to compare all views with the new version. Also keep in mind this is an opinionated theme, if you want/need to change a lot it's better to build your own in terms of upgradability. ``` php artisan vendor:publish --provider="Rapidez\CheckoutTheme\ServiceProvider" --tag=views