Skip to content
rapidezPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Latest commit

 

History

59 Commits

Folders and files

Repository files navigation

Rapidez Wishlist

Installation

composer require rapidez/wishlist

After that you'll get:

  • Wishlist button on a product item in listings
  • Button on product pages on top of the image
  • Wishlist account page

You can see here how that's implemented in various packages:

Optionally you could publish and change the views with

php artisan vendor:publish --provider="Rapidez\Wishlist\WishlistServiceProvider" --tag=views

Showing the button somewhere else

Just include the button where you'd like it:

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

And make sure the required information is available, see the button view.

Wishlist items count

You can get the count of the customer's wishlist items by using the wishlist component. This could be used somewhere in the header, example:

<wishlist v-cloak>
    <span slot-scope="{ itemsCount }">
        @{{ itemsCount }}
    </span>
</wishlist>

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages