Package release

ocyan-plugin-oscar-catalogue

mandel/testing ยท Version 2.0.4rc1

Oscar catalogue extensions for MandelBlogStack

Metadata

author_email Mandel <[email protected]>
classifiers
  • Framework :: Ocyan
  • Environment :: Plugins
  • Programming Language :: Python :: 3.12
description_content_type text/markdown
dynamic
  • license-file
license_expression LicenseRef-Proprietary
license_file
  • COPYRIGHT
provides_extras
  • test
requires_dist
  • ocyan.core<2,>=1.2.12
  • ocyan.plugin.oscar<3,>=2.0.1
  • django-treebeard<6,>=5.3
  • lxml
  • ocyan.plugin.testing; extra == "test"
  • wheel; extra == "test"
  • ruff; extra == "test"
  • empty_testproject; extra == "test"
  • django-oscar-api; extra == "test"
  • isort; extra == "test"
  • pylint-django; extra == "test"
  • vdt.versionplugin.wheel; extra == "test"
  • coverage; extra == "test"
  • oxyan.themes; extra == "test"
requires_python <3.13,>=3.12

Release files

FileTest resultsHistory
ocyan_plugin_oscar_catalogue-2.0.4rc1-py3-none-any.whl
Size
101 KB
Type
Python Wheel
Python
3
ocyan_plugin_oscar_catalogue-2.0.4rc1.tar.gz
Size
48 KB
Type
Source

Ocyan plugin Oscar Catalogue App Ocyan Overrides

Installation

Add ocyan.plugin.oscar_catalogue to your projects dependencies.

Supported certification matrix

The certified 2.0.x line supports Python 3.12, Django 5.2, Oscar 4.1--4.2 through the certified ocyan.plugin.oscar dependency, and ocyan.core 1.2.12 or newer below version 2. The package is optional and must be enabled through the Ocyan plugin configuration; it does not own checkout, payment, order, search, dashboard, or operations behavior.

For a consumer, install the wheel or sdist and add ocyan.plugin.oscar_catalogue through the normal Ocyan plugin manifest. Run manage.py check, migrations, and collectstatic before enabling catalogue URLs. The fix_catalogue_tree command is a maintenance operation; destructive tree rebuilding requires both --destructive and --yes-i-really-mean-it.

Usage

This plugin fixes some bugs in oscar's catalogue app, required until fixed upstream.

This app provides the following features:

  1. Allows a user to set a min_quantity attribute on a product as a product attribute. When set, users can not order less.
  2. Adds vat_rate on each product which can be zero, low or high.
  3. Make option and product_type slugs editable from the django admin.
  4. Sort child products (variants) by price in the dropdown so the cheapest is offered by default.
  5. Add any media defined in views in the detail template.
  6. Adds filter_by_attributes query option until merged in upstream.
  7. Reduces some crazy expensive queries to calculated pagination info.
  8. Test correctness of taxes very exhaustive.

Configuration