Jump to:

2088 Posts in 1007 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » how does the dev/ecommerce page work?

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: 770 Views
  • wildflower1975
    Avatar
    Community Member
    59 Posts

    how does the dev/ecommerce page work? Link to this post

    I've found the EcommerceDatabaseAdmin.ss page that is the content of the page, I guess my question is more how does the
    <code>
    <% control Tests %>
    </code>

    work because it's only showing the Shopping Cart test on my test site, but there are quite a few Test.php files in the ecommerce/tests directory.

    If I look at the dev/tests dir I can see them all though.

    I guess there's a method called Tests somewhere in sapphire that might not be working correctly?

    I've found sapphire/dev/DevelopmentAdmin.php with a
    @todo documentation for how to add new unit tests and tasks

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: how does the dev/ecommerce page work? Link to this post

    The tests listed just come from a hard-coded array at the moment. The list is based on tests that actually work.

    I think it'll be a good idea to remove the non-working ones.

    Also note that the payment test(s) usually fail, so you end up needing to specify which tests to skip.

    770 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.