Package release

ocyan-plugin-oscar-basket

mandel/testing ยท Version 0.2.3rc1

Oscar basket 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.13
  • ocyan.main<3,>=2.0.2
  • ocyan.plugin.oscar<3,>=2.0.5
  • ocyan.plugin.oscar_catalogue<3,>=2.0.4
  • django<5.3,>=5.2
  • wagtail<8,>=7
  • pytest; extra == "test"
  • pytest-django; extra == "test"
  • ruff; extra == "test"
  • coverage; extra == "test"
  • wheel; extra == "test"
requires_python <3.13,>=3.12

Release files

FileTest resultsHistory
ocyan_plugin_oscar_basket-0.2.3rc1-py3-none-any.whl
Size
38 KB
Type
Python Wheel
Python
3
ocyan_plugin_oscar_basket-0.2.3rc1.tar.gz
Size
18 KB
Type
Source

Ocyan plugin oscar_basket

Installation

Add ocyan.plugin.oscar_basket to your projects dependencies.

Usage

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

This app provides the following features:

  1. Enforcing of OSCAR_MAX_BASKET_QUANTITY_THRESHOLD even when a user logs in and baskets are being merged.
  2. The way an option is displayed can be changed by overriding the function get_class("basket.utils", "option_display_value")
  3. Cleans up product description in the basket by not showing all these options rendered comma separated.
  4. implemented DataPriceWidgetMixin which allows passing price data to form widgets, this enables updating the price with javascript when a child product is selected from the dropdown.