django-shop-configurableproduct 0.3.1

Configurable product for django-shop

This plugin allow you to:

  • Define product types in django admin interface with custom set of fields
  • Add custom fields to products

Supported field types

  • Float field
  • Char field
  • Image field (with preview in admin via sorl.thumbnail)
  • Boolean field (NullBooleanField)

How to use it

  • Install from bitbucket or pypi
  • If you want to define static fields for all product types (i.e. size, ...):
  • Create a subclass of configurableproduct.models.CProduct
  • Write admin class based on configurableproduct.admin.CProductAdmin
  • If you want to use CProduct model directly, set ENABLE_CPRODUCT_ADMIN to True in your settings file.

  • You can access custom fields via productfloat_set, productchar_set,... as:

    product_object.productchar_set.all()[0].value
    
  • You can access ordered list of custom fields via product_object.field_list property

GPL

Author

Pavel Zhukov

Pip

django-shop-configurableproduct==0.3.1
File Type Python Version Uploaded On Downloads
django-shop-configurableproduct-0.3.1.tar.gz Source Oct. 7, 2011 3,118
Version Release Date
0.3.1 Oct. 7, 2011
0.3.0 July 22, 2011
0.2.8 July 11, 2011
0.2.7 July 11, 2011
0.2.6 June 30, 2011
0.2.5 June 30, 2011
0.2.4 June 30, 2011
0.2.3 June 14, 2011
0.2.2 June 3, 2011
0.2 May 23, 2011
Date Package Version Action
Aug. 26, 2015, 12:25 a.m. django-shop-configurableproduct 0.2.8 Release Created
Aug. 26, 2015, 12:25 a.m. django-shop-configurableproduct 0.2.2 Release Created
Aug. 26, 2015, 12:25 a.m. django-shop-configurableproduct 0.2.3 Release Created
Aug. 26, 2015, 12:25 a.m. django-shop-configurableproduct 0.2.4 Release Created
Aug. 26, 2015, 12:25 a.m. django-shop-configurableproduct 0.2.5 Release Created
Aug. 26, 2015, 12:25 a.m. django-shop-configurableproduct 0.2.6 Release Created
Aug. 26, 2015, 12:25 a.m. django-shop-configurableproduct 0.2.7 Release Created
Aug. 26, 2015, 12:25 a.m. django-shop-configurableproduct 0.3.1 Release Created
Aug. 26, 2015, 12:25 a.m. django-shop-configurableproduct 0.3.0 Release Created
Aug. 26, 2015, 12:25 a.m. django-shop-configurableproduct 0.2 Release Created
Aug. 26, 2015, 12:25 a.m. django-shop-configurableproduct Package Created