Source Code
Component Create
Create your own component for cart,product details and shop.
Then create a store function in shopcomponent.php as like:
pass the parameters to the product page as like by adding:
wire:click.prevent="store({{$product->id}},'{{$product->name}}',{{$product->regular_price}})"
Top comments (0)