Support the ongoing development of Laravel.io →
Session
Last updated 1 month ago.
0

Can everybody help me, please

Last updated 1 month ago.
0
Session::push('cart.items', $product);

Session::get('cart.items'); // array

source:http://laravel.com/docs/session#session-usage

Last updated 1 month ago.
0

Thank you so much for your help, zenny

Last updated 1 month ago.
0

Instead of creating a shopping cart from scratch, I would recommend you to use a package for the cart or ecommerce system. You can easily get an Laravel based ecommerce site on your server by using packages for that. Here is an example: https://www.cloudways.com/blog/laravel-ecommerce-website-with-...

0

Sign in to participate in this thread!

LoadForge

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.