Skip to main content
A hexagonal logo of Shop

viur-shop

Badge showing current PyPI version Documentation Status Badge displaying the license
A modular e-commerce extension for the ViUR framework.

📦 Features

  • Fully integrated Shop logic via the central shop.Shop class: cart handling, order management, API routing, bootstrapping with custom article_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, and CHECKOUT_STARTED.
  • Pricing & Discounts: Automated calculation of unit and bulk prices, gross/net handling, VAT rates, savings, and discount combinations via the Price class.

🚀 Requirements


🧩 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

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.16.0.tar.gz (92.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

viur_shop-0.16.0-py3-none-any.whl (121.3 kB view details)

Uploaded Python 3

File details

Details for the file viur_shop-0.16.0.tar.gz.

File metadata

  • Download URL: viur_shop-0.16.0.tar.gz
  • Upload date:
  • Size: 92.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for viur_shop-0.16.0.tar.gz
Algorithm Hash digest
SHA256 add2aa2cee7ec6dd99c78ca80c201ebdd7ea335d81ac032b195def4f02514ce7
MD5 df3f225d4f6bf43a6ff12b8dcb1041af
BLAKE2b-256 e4b30d24d7f20260cc87d41496ecba04885d3268e9ddf6e84d38181d7b18f074

See more details on using hashes here.

File details

Details for the file viur_shop-0.16.0-py3-none-any.whl.

File metadata

  • Download URL: viur_shop-0.16.0-py3-none-any.whl
  • Upload date:
  • Size: 121.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for viur_shop-0.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63dace184cfb300a0a4ffa6e9723df9e8ca790559ec0edbc7eefe27253c72949
MD5 6b30c9e3ec69d54bd29e88d3922b81ee
BLAKE2b-256 dec0efd802ac2ee5f1473f4a6f251a6256b45673ac56d0148738ffda8995ede4

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page