Jump to:

2076 Posts in 857 Topics by 449 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Latest Version of Shop Module: 0.8.5

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1447 Views
  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Latest Version of Shop Module: 0.8.5 Link to this post

    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: http://www.silverstripe.org/shop-module/ or here: http://ss-shop.org

    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: https://github.com/burnbright/silverstripe-bootstrap
    Github for shop theme: https://github.com/burnbright/silverstripe-bootstrap-shop

    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: https://github.com/burnbright/silverstripe-shop/wiki/Release-Checklist

    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.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Latest Version of Shop Module: 0.8.5 Link to this post

    Congrats Jeremy, release looks like a great step forward!

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: Latest Version of Shop Module: 0.8.5 Link to this post

    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: http://github.com/burnbright/silverstripe-payment

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

    Filed ticket: https://github.com/burnbright/silverstripe-shop/issues/60

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: Latest Version of Shop Module: 0.8.5 Link to this post

    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: http://nvie.com/posts/a-successful-git-branching-model/

    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.

    regards,
    Jeremy

  • helenclarko
    Avatar
    Community Member
    25 Posts

    Re: Latest Version of Shop Module: 0.8.5 Link to this post

    Hi,

    This Module looks really nice!

    Does this tie in nicely with the MemberProfiles plugin?

    Thanks
    -helenclarko

    1447 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.