A modular e-commerce extension for the ViUR framework
Project description
📦 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
viur_shop-0.13.4.tar.gz
(82.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
viur_shop-0.13.4-py3-none-any.whl
(110.1 kB
view details)
File details
Details for the file viur_shop-0.13.4.tar.gz.
File metadata
- Download URL: viur_shop-0.13.4.tar.gz
- Upload date:
- Size: 82.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5ef5abb5f7fcec2c77a9d035ca46a542cfc83a1a0e00aba34556d04506d25c6
|
|
| MD5 |
0a85b142652686f691d08ce9c9da025d
|
|
| BLAKE2b-256 |
eb43cde5282ad20f9ebb0491f300b28d4d87a24a2b0f46ac5262b2a762f74db2
|
File details
Details for the file viur_shop-0.13.4-py3-none-any.whl.
File metadata
- Download URL: viur_shop-0.13.4-py3-none-any.whl
- Upload date:
- Size: 110.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2b544776791b7636236d44cfa07f1ed089ffb8ad624ddeed151af91694c2a94
|
|
| MD5 |
5e503ed45ef5d662d259894106456596
|
|
| BLAKE2b-256 |
e60915a4b6f768446498b080283244da9d224b3493b004f8ee488af91b2eee21
|