rapidez/wishlist

There is no license information available for the latest version (0.5.4) of this package.

Rapidez Wishlist

Installs: 1 302

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 5

Open Issues: 0

Language:Blade

0.5.4 2023-09-22 12:38 UTC

This package is auto-updated.

Last update: 2024-04-20 14:50:52 UTC


README

Installation

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

Product page

Include the wishlist button on the product page, for example in resources/views/vendor/rapidez/product/partials/addtocart.blade.php:

@include('rapidez::wishlist.button')

Product listing

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')

Account wishlist page

The wishlist account page can be found on /account/wishlist and will be added to the menu automatically

Wishlist items count

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>