composer require rapidez/wishlist
If you haven't published the Rapidez views yet, publish them with:
php artisan vendor:publish --provider="Rapidez\Wishlist\WishlistServiceProvider" --tag=views
Include the wishlist button on the product page, for example in resources/views/vendor/rapidez/product/partials/addtocart.blade.php
:
@include('rapidez::wishlist.button')
Include the wishlist button on the listing items, for example in resources/views/vendor/rapidez/listing/partials/item/addtocart.blade.php
:
@include('rapidez::wishlist.button')
The wishlist account page can be found on /account/wishlist
and will be added to the menu automatically
You can get the count of the customer's wishlist items by using the wishlist component. For example:
<wishlist v-cloak>
<span slot-scope="{ itemsCount }">
@{{ itemsCount }}
</span>
</wishlist>