{ "info": { "author": "Christopher Glass", "author_email": "tribaal@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "================================\ndjango SHOP - Simple Variations\n================================\n\nThis app's purpose is to provide a way to quickly create product variations for\nmost simple cases.\n\nIt considers variations as a {label: value} entry in the cart modifiers, so it\nis perfect for things like differently priced colors, or build-your-own\ncomputers for example.\n\n\nInstallation\n============\n\nThis requires django SHOP to work (https://github.com/chrisglass/django-shop)\n\n* Add the app to your INSTALLED_APPS in your settings.py\n* Add `shop_simplevariations.cart_modifier.ProductOptionsModifier` to your\n `SHOP_CART_MODIFIERS` setting.\n* Add `(r'^shop/cart/', include(simplevariations_urls)),` to your `urls.py`\n just before `(r'^shop/', include(shop_urls)),`\n\nYour urls.py should look like this:\n\n::\n\n from django.conf.urls.defaults import *\n from django.contrib import admin\n\n from shop import urls as shop_urls\n from shop_simplevariations import urls as simplevariations_urls\n\n\n admin.autodiscover()\n\n\n urlpatterns = patterns('',\n (r'^admin/', include(admin.site.urls)),\n (r'^shop/cart/', include(simplevariations_urls)),\n (r'^shop/', include(shop_urls)),\n )\n\nUsage\n=====\n\n* Create an Option group in the admin view\n* Bind it to a product\n* Add options and the corresponding price to the group.\n* When a `CartItemOption` object is linked to a `CartItem`, the option's value\n will be added to the CartItem's price and a corresponding extra field willbe\n added to the Cart/Order.\n* Override django-shop's `product_detail.html` template and add selection\n elements so that your users can select variations.\n\n\nThe product_detail.html template\n================================\nThe simple `product_detail.html` that ships with the shop doesn't take\nvariations into consideration.\n\nTherefore you need to override the template. django-shop-simplevariations\nships with two templatetags that help creating drop down lists so that a\ncustomer can actually chose variation.\n\nFirst make sure to load the simplevariation templatetags:\n\n::\n\n {% load simplevariation_tags %}\n