How to add Qonfi to your Shopware site
While installing an extension to get Qonfi running is not required, it can speed up the process. In the documentation below, we'll explain how you can install, configure and use the Qonfi Shopware extension.
Add extension via composer
This Shopware extension should be installed via composer: https://packagist.org/packages/qonfi/shopware
This will provide (if everything goes well) you with the Qonfi extension.
Creating the Qoni block
Now that you have installed the Qonfi extension, we start adding the product selector to your site.
Open a layout of your choice. For example purposes we will edit the product page Layout.
We want to add the product selector to the product page. This can be done by adding the block to your layout. On the right hand side of the page, you should see the + to add a new block.
The Qonfi product selector is located in the blocks under the Commerce category
Here you can see the Qonfi product selector block. Drag it in the page to load at the place you want to.
Here you can see that the block is added to the layout. Now we just need to set some variables, and we are ready to go.
Configuring the Qonfi block
Now that the block is present in your template, we still need to configure it.
Some settings are required, some are not. This will be highlighted with an asterisk (*).
After all the settings are done and you save the layout, the following block will appear.
Yours may look different because of your theme, custom styling or settings.
Additional information
Updates
Updates for this plugin in shopware will be deployed via https://packagist.org/packages/qonfi/shopware
If you have any feedback, please let us know.
Add to cart
With this plugin, we prepare a standard url to add products to the cart. This url is “/add-to-cart/{productNumber}/quantity={quantity}.
After all the products of a bundle, or the single product, are added to the cart, the user will be redirected to the cart page found at frontend.checkout.cart.page.
If users try to add a product to the cart with an ID that does not exist in the shop, there will be an alert in the shop.
Please make sure your Maximum order quantity (see image below) is set high enough for orders that customers might place. If the maximum order quantity is lower than the order request, it will round the request down to the maximum order quantity.
Documentation