📦 Features
- Fully integrated Shop logic via the central
shop.Shopclass: cart handling, order management, API routing, bootstrapping with customarticle_skel, and payment/shipping modules. - Extensible Modules: Address, Api, Cart, Discount, Shipping, VatRate, Order, etc. — all provided as abstract base implementations.
- Payment Providers: Amazon Pay, PayPal Plus, Prepayment, Invoice, and Unzer integrations (Credit Card, PayPal, SOFORT, Bancontact, iDEAL). Can be extended with custom implementations.
- Event & Hook System: Customize checkout and order flow with hooks for events like
ORDER_PAID,CART_CHANGED, andCHECKOUT_STARTED. - Pricing & Discounts: Automated calculation of unit and bulk prices, gross/net handling, VAT rates, savings, and discount combinations via the
Priceclass.
🚀 Requirements
- ViUR Framework (viur-core) installed and configured
- Python 3.11+
🧩 Installation & Integration
pipenv install viur-shop
Integrate into your ViUR application:
# deploy/modules/shop.py
from viur.shop import Shop
from skeletons.article import ArticleSkel # your custom article skeleton
shop = Shop(
name="myshop",
article_skel=ArticleSkel,
payment_providers=[
# e.g. PayPalPlus(), Invoice(), ... ,
],
suppliers=[
# optional Shop.types.Supplier(...),
],
)
🔍 Additional Resources
- Full API Reference: viur-shop.readthedocs.io
- Frontend Components for Vue.js
Metadata
Release files for viur-shop 0.18.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| viur_shop-0.18.1.tar.gz | 95.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| viur_shop-0.18.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 221.8 kB
Release files / viur_shop-0.18.1.tar.gz
| Download URL | viur_shop-0.18.1.tar.gz |
|---|---|
| Size | 95.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbd01a7b89a976bc2ac8ad6fdf122050cf28a494d07d87cb7235bc2724c0c95d
|
|
BLAKE2b-256 checksum How to use checksums |
d02519cb72c9e99953f6d6e22fdbd4dbae0882848918d87e1c5c566f530fdc10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / viur_shop-0.18.1-py3-none-any.whl
| Download URL | viur_shop-0.18.1-py3-none-any.whl |
|---|---|
| Size | 126.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c64ccfb275ada9b2799743427b22fbc28fe15ffde3723f3a6684dd4a3b86672
|
|
BLAKE2b-256 checksum How to use checksums |
70886893f46a63439986746673eb4efe022a30dbc1edc8310d8226fab39bddcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|