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

themed css for cart/checkout pages : issue fixed?

Go to End

2 Posts   1166 Views


Community Member, 244 Posts

13 June 2011 at 12:27pm

i noticed that if you copy all the css form the ecommerce module to your theme folder, silverstripe will use your versions not the default versions - good for theming...

however, both the checkout and the cart were not picking up the style sheets in my theme folder

I realised that you have to edit ecommerce/code/CartPage.php + ecommerce/code/CheckoutPage.php and find
"public function init() {" and then move the the line "Requirements::themedCSS('CheckoutPage');" to after "parent::init()";


then it will load your nice customised checkout/cart styles...


Community Member, 57 Posts

18 December 2011 at 7:05am

Thanks for sharing this Futureweb! Was just looking for a solution to this and yours worked perfectly.