A checkout theme including the checkout, cart and accounts views.
Screenshots...
composer require rapidez/checkout-theme
To use the views from this package instead of the default ones, you'll need to publish the "core overwrite views" with the following command:
php artisan vendor:publish --provider="Rapidez\CheckoutTheme\ServiceProvider" --tag=core-overwrites
Add these colors to your tailwind.config.js
and modify them to your liking:
colors: {
ct: {
enhanced: {
DEFAULT: '#40C42A',
},
inactive: {
DEFAULT: '#8A8275',
100: '#F6F4EE',
},
disabled: '#EBE8DE',
accent: {
DEFAULT: '#FEAB05',
},
primary: {
DEFAULT: '#625B50',
},
border: '#EAE7DC',
error: '#DF241D',
},
},
This package also requires the SKU
functionality to be enabled in the image resizer, which is normally enabled by default.
Publish the configuration file and have a look at the options config/rapidez-checkout-theme.php
php artisan vendor:publish --provider="Rapidez\CheckoutTheme\ServiceProvider" --tag=config
We have provided a set of payment icons for your convenience. To integrate these icons into your project and enable the functionality of adding or modifying icons, please execute the following command:
php artisan vendor:publish --provider="Rapidez\CheckoutTheme\ServiceProvider" --tag=payment-icons
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
GNU General Public License v3. Please see License File for more information.