Jump to:

2088 Posts in 1007 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » themed css for cart/checkout pages : issue fixed?

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: 755 Views
  • Futureweb
    Community Member
    232 Posts

    themed css for cart/checkout pages : issue fixed? Link to this post

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

  • SnowBoarder82
    Community Member
    52 Posts

    Re: themed css for cart/checkout pages : issue fixed? Link to this post

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

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.