Satchmo Development Branch
These are the notes for the latest development version.
The full list of closed tickets can be viewed here
New Features
- Display payment methods in emails
- Update the default templates to show quick orders and category indexes
- Ensure notes fields can be saved if they are included in the checkout process
- Display country names instead of abbreviations in templates
- Update google analytics code to use latest tracker js
- Add an unlimited downloads option for downloadable products
- Added support for Django’s new CSRF support
- UPS Shipping module now allows you to box products together into 1 container
- Add a new config for the persistent cart to provide more options for how it handles returning users
- New template tag to show tiered shipping pricing table
- Control product variations inclusion in searching view the settings
- UPS module will display actual shipping times
- New template tag product_featured_list
- New config option to allow users to create their username instead of automatically generating
- Satchmo check now does a more thorough job of checking your environment for issues
Translations
- Added Dutch translation
- Added Czech translation
Bug Fixes
- Fix issue if Unicode characters in options
- Fix issues with migrations and content types
- Resolve Paypal unneeded dependency on subscription product
- Make sure “all valid” discounts are correctly applied
- Fix Wishlish ajax add view
- Ensure that product variation properly inherits shipping from its parent
- Handling of gift certificate plus other payments fixed
- Bug in tax processor rendering fixed
- Bug in autosuccess payment module fixed
- Rebuild pricing was deleting prices if multiple sites were being used
- Currency template tags handles decimal places parameter correctly
- Improve robustness of South migrations
- Fix obscure issue where some users were able to edit the wrong information
- Remove custom read only widget use and use Django’s newer read only field
- Paypal was not saving contact information correctly in certain cases
- Newsletter subscription status could be lost when checking out
- Use smart_attr for tiered weight shipping module
- Make sure that the product image file name doesn’t exceed the length of the file field
- Multiple doc formatting fixes
- Authorize.net now uses shipee first and last names if given
- Typo in wishlist ajax view
- Make sure jquery correctly shows error messages on product pages
- Fixed problem where category caching was not handling translations correctly
- Ensure Ajax calls in checkout use SSL if it is turned on
- Akismet for comment moderation is fixed
- Improvements to South migrations
- Update Paypal IPN docs
- Fix issue where inactive or out of stock products could be purchased if there was a time lag between cart addition and checkout
- Cart template tag now allows show_discount
- Several fixes to transaction management
- Improve postgres syncdb support
- UPS time in transit prevents weekend pickups
- Payments weren’t showing up correctly in admin
- Multiple updates to the tests to make them more robust
- Fix issue with persistent cart not working correctly
- Updates and fixes to sermepa payment module
- Fixes to syncdb
- Fedex module API changes
- Several fixes to handle unicode characters better
Additional Packages
- We have also made several updates to satchmo’s dependencies including:
-
You should upgrade these to the latest version when you upgrade your satchmo site.
Migration Notes
CSRF
As of rev 1999, Satchmo supports the newest Django 1.2 Cross Site Request Forgery (CSRF)
protection. You are encouraged to read more about it int the Django docs
If you have an existing Satchmo store and need to support CSRF, you will need to do a couple of things:
- Upgrade to Django 1.2.3 or greater
- Ensure ‘django.middleware.csrf.CsrfViewMiddleware’ is in your MIDDLEWARE_CLASSES
- Ensure that any forms in your custom templates, have {% csrf_token %} inside the <form> element
Messages
As of rev 1999, Satchmo incorporates some of the components of the new messages framework.
If you have an existing Satchmo store you will need to:
- Add ‘django.contrib.messages.middleware.MessageMiddleware’ to your MIDDLEWARE_CLASSES
- Add ‘django.contrib.messages.context_processors.messages’ to your TEMPLATE_CONTEXT_PROCESSORS
- Add ‘django.contrib.messages’ to your INSTALLED_APPS setting
Protx Payment Module Renamed
As of rev 2051, the Protx module has been renamed to Sage Pay. You will need to manually copy over your former Protx credentials to
the new Sage Pay module. No further changes should be necessary.
ProductPriceLookup Index
As of rev 2120, the price lookup model has an index on the productslug to improve performance on large data sets.
A south migration is included. To apply:
python manage.py migrate product
Support for Django 1.3
As mentioned above, when using Django 1.3, it is important to upgrade django-caching-app-plugins (app_plugins) to version 0.1.2.