
Laravel Facade and Service Provider for Moltin\Cart
The Laravel Shopping Cart Package is a powerful tool for developers looking to seamlessly manage cart functionality within their Laravel applications. Built as a facade and service provider for Moltin's Cart, this package provides an intuitive and efficient way to manage shopping cart operations, from adding items to calculating totals with taxes included. It's an ideal solution for anyone who wants to enhance their e-commerce platform with streamlined cart management.
This package is designed for easy installation via Composer, making it accessible to a wide range of developers. With support for optional configuration settings, such as tax rates and item management, you can easily tailor the cart to meet your specific requirements. Whether you need to update, remove, or retrieve cart contents, this package offers a comprehensive set of features to enhance user experience and manage transactions effectively.
Easy Installation: Integrate the cart into your Laravel app effortlessly using Composer with minimal configuration required.
Configurable Tax Rates: Set specific tax percentages for items by passing the tax key in your insert method, allowing for precise pricing calculations.
Update Functionality: Modify any property of cart items easily, enabling flexible management during shopping sessions.
Item Removal: Effortlessly remove items from the cart using the built-in remove() method, simplifying the user experience when adjusting selections.
Cart Destruction: Clear your cart completely with the destroy() method, helping to reset the shopping session as needed.
Retrieve Cart Contents: Loop through cart contents or return items as an array, providing flexibility in how you manage and display cart data.
Total Calculations: Obtain the total value of the cart, including or excluding taxes, using the total() method for accurate transaction processing.
Item Option Management: Check if cart items have additional options, offering versatility to products that may require customization.
