Download the PHP package revinners/shopware6-add-to-basket-plugin without Composer
On this page you can find all versions of the php package revinners/shopware6-add-to-basket-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download revinners/shopware6-add-to-basket-plugin
More information about revinners/shopware6-add-to-basket-plugin
Files in revinners/shopware6-add-to-basket-plugin
Package shopware6-add-to-basket-plugin
Short Description Add to basket plugin for Shopware 6
License MIT
Informations about the package shopware6-add-to-basket-plugin
Add to basket plugin for Shopware 6
The plugin provides a simple API endpoint to add products to the shopping cart.
If you'd like to learn more or work with us, visit our website at revinners.com for more information.
Installation
Usage
Call the API endpoint with the SKU and quantity of the product to add. The endpoint will return a JSON response.
Endpoint: /add-to-basket
Method: GET
Parameters:
sku
(string, required): The SKU (product number) of the product to add.qty
(integer, required): The quantity of the product to add.
Example Request
Example Responses
Testing
./vendor/bin/phpunit --configuration="custom/plugins/RevinnersAddToBasket" --color
- run the tests./vendor/bin/ecs check src
- run the code style check./vendor/bin/phpstan analyse src
- run the static analysis
License
This plugin is licensed under the MIT License. You are free to use, modify, and distribute this software in accordance with the terms of the license.
For more details, see the LICENSE file included in this repository.
About us
At Revinners, we specialize in building e-commerce shops and developing custom plugins based on the Shopware 6 platform. Our goal is to deliver efficient, scalable, and tailored solutions to meet the unique needs of online businesses.
If you'd like to learn more or work with us, visit our website at revinners.com for more information.