Skip to main content

A modular e-commerce extension for the ViUR framework

Project description

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

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.14.0rc1.tar.gz (81.7 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.14.0rc1-py3-none-any.whl (109.3 kB view details)

Uploaded Python 3

File details

Details for the file viur_shop-0.14.0rc1.tar.gz.

File metadata

  • Download URL: viur_shop-0.14.0rc1.tar.gz
  • Upload date:
  • Size: 81.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for viur_shop-0.14.0rc1.tar.gz
Algorithm Hash digest
SHA256 de273a96c131b7f0a0975fe50dc31ee401978bef47b8a790fb259191d054119a
MD5 bf1c51b1abb90c433ef582810d876d19
BLAKE2b-256 69fd1a0b525ec3ae850c0c4be92b9711ef8ce02feff23d0940259fdd6b5bccee

See more details on using hashes here.

File details

Details for the file viur_shop-0.14.0rc1-py3-none-any.whl.

File metadata

  • Download URL: viur_shop-0.14.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 109.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for viur_shop-0.14.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b0b08b1eda83a4f67a85b2d6e2cdff110de7655d7034ff3b9ad30be7bf4585d
MD5 19d0d5137a3d4232417f63f808744ca7
BLAKE2b-256 da124f5852a805c8d0de44cdd7222bbd78747941d737f63bf936445ffc9d8b13

See more details on using hashes here.

Supported by

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