Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Latest Version of Shop Module: 0.8.5

Go to End

5 Posts   2866 Views


Forum Moderator, 238 Posts

7 June 2012 at 12:48pm

Edited: 09/06/2012 12:51pm

Hi all,

I'm pleased to announce the release of the silverstripe shop module version 0.8.5. A big thanks to everyone who has helped out with submitting bugs, and providing ideas and feedback.

The best place to get your hands on the code is here: or here:

Installation docs here, and upgrading help here.

If you find bugs, reply to this thread, or post in the issue tracker.

0.8.5 Release highlights

  • - More distinction between Cart and Order. Naming templates, files etc accordingly. They still have the same underlying model.
  • - Full shopping cart rewrite. We now have two classes: ShoppingCart - a singleton that makes updates to the current order, and ShoppingCart_Controller - providing links for making updates. Part of the shopping cart rewrite is the parameters system, which allows the sale of custom products such as 15.3 meters of pipe, or an upsized meal. The system will detect if parameters match those of an item already in the cart, and update the cart quantity instead of creating a new item.
  • - Introduced security token on shopping cart links to help prevent CSRF attacks.
  • - Partial modifiers system overhaul. Simplification and performance enhancements.
  • - Variations system is working again
  • - Template refactoring.
  • - Updates to development tasks and tools: debug info, dummy data population.
  • - 38 passing tests
  • - Renaming and deperecating various classes and functions.

See the Full change log here

Twitter bootstrap theme

Not specifically part of the release, but compatible with it, is the new twitter bootstrap theme. This is an excellent way to get started with theming the shop module, as it provides a good looking plain template to build upon. The demo site is running the bootstrap theme.

Github for main theme:
Github for shop theme:

Development of the shop module

Here's a quick update on the project status. I'm still working towards my vision for the module. My focus is on quality over quantity.

As an unpaid open-source project, it's always useful to have work that helps support the module. It appears I've got plenty on the horizon, so expect to see a continuation of improvements in the near future.

I'm trying to adopt development techniques that will best benefit the project, and help me become more professional as a developer. This includes adopting a good git release/branching model, which should mean the master is always stable for anyone that wants to develop with it. I've documented my release process here:

I've yet to start using a proper version number system, but in this case I skipped 0.8.4 because there are so many changes in this release. From now, I'll probably aim to use something like this format: major.minor.bugfixes. That will probably make the next release feature 0.9, and bugfix release 0.8.6.


Forum Moderator, 5523 Posts

7 June 2012 at 7:55pm

Congrats Jeremy, release looks like a great step forward!


Forum Moderator, 238 Posts

9 June 2012 at 12:51pm

Edited: 09/06/2012 12:54pm

Here's a bug that has been found:

“Fatal error: Call to undefined method Payment::get_supported_methods() in ...\shop\code\forms\OrderForm.php on line 170”

I've been using my own modified version of the payment module, which has that static function in it. It was an additional check I added in close to release of 0.8.5.

To fix for now, either drop that section of code (Lines 170 to 174 of code/forms/OrderForm.php), or make use of my version of payment module:

I'll just wait to see if there's any more bugs before creating a 0.8.6 bug-fix release.

Filed ticket:


Forum Moderator, 238 Posts

12 June 2012 at 10:20am

Hi all,

I just wanted to share how useful git and my new development workflow really is. I mentioned in my 0.8.5 release notes that I'm adopting a new development approach, as explained here:

I'm now experiencing the benefits first-hand with the 0.8.6 bugfix release I'm working on. I've had a few bug reports from the community (thank you!), and I've already been able to push these to the master branch.

Meanwhile, I'm taking these fixes and merging them into my other development branch, which contains new features that would really annoy people if they were put into master right now. Watch this branch to see what's coming in the next feature release.

How does this help you? Stay on the master branch, and you'll get all the bug fixes before I even create tag 0.8.6. The only thing you need to watch out for is that you don't pull when a feature release has been put out. That's easily reverted though.



Community Member, 166 Posts

9 November 2012 at 12:01pm


This Module looks really nice!

Does this tie in nicely with the MemberProfiles plugin?