Fork me on GitHub

If you have a common question needing a common answer, hopefully you can find it here.

Which version of SilverStripe / shop / Payment should I use?

This has been made much simpler with the introduction of composer.

No products are showing up on my website!?

Here are a few things to check:

  • Are the products published? You may be viewing the website in the wrong mode. See if it makes a difference to view the site in draft or live mode. You can switch in the CMS.
  • Is the template correct? (try add ?showtemplate=1 to the url)
  • Do the products have prices?
  • Do the products have "show in menus" set?
  • Is there any kind of global allow purchase setting affecting things?

How to customise forms - checkout, add product, cart, etc

If the form has been built well, it should have extension hooks that allow you to make adjustments by writing your own Extension class.

How do I customise the country field? - change country list, remove field completely, set default

See the customising docs.

How do I set my site to use a different currency?

//where 'CUR' is the currency code

I can't get payments to work? eg: PayPal, PaymentExpress, Other..

see payment

How do I add shipping calculation to the checkout process? How do I customise fees for different locations / delivery zones?

The default shop module provides a few shipping modifiers. You can also have one custom built for your needs.

How do I use in a different language?

Follow the Silverstripe internationalisation guide We welcome your contribution of language files.

When are cart/order totals recalculated?

When changes are made to an order, the totals need to be recalculated. It is too expensive to do this on every single change.

Totals are recalculated on every request for carts. The recalculation is triggered by the Cart function, which is for use in templates only. It will only recalculate once, so make sure recalculation isn't triggered early, producing incorrect results.

After an order is placed, recalculation will only occur on demand.