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

Error When Add Item To Cart

Go to End

6 Posts   2449 Views


Community Member, 4 Posts

9 January 2009 at 3:56pm

I am creating a website for a customer. Have setup the ecommerce module, trunk and the PayPal system. But when I went to a product to test the ecommerce system I clicked "Add this item to cart" and I was sent to a page at and got an error code saying "Fatal error: Cannot instantiate abstract class ShippingCalculator in /home/content/s/e/a/seattlehalal/html/sapphire/core/Object.php on line 99"

Can understand that something is wrong with the shipping calculator but after reviewing countless forum pages for countless hours I can not understand what went wrong. Would appreciate help a.s.a.p. since client is waiting on me to fix it.


Community Member, 54 Posts

13 January 2009 at 6:25pm

ShippingCalculator is now a ShippingModifier... perhaps this is where you are having problems?

My trunk installed CMS and ecommerce refuses to process shipping at all. The following config could be useful for you, and if not perhaps you can tell me what I've done wrong...

  'AU' => 15,
  'NZ' => 7.50,
//... rest of world default

Good luck


Community Member, 4 Posts

14 January 2009 at 12:50am

Thanks KCD for being kind enough to reply to my post. You did not specify exactly where to put that code at so I put it in the ShippingCalculator.php since it seems like it is supposed to go there... looked in all of the _config.php files but didnt see which one to put it in. Did the db/build/?flush=1 thing but it still crapped out on me.

Again thank you KCD but I found a much better OS ecommerce software called Magento. Will do the ecommerce side in that program. It was my fault for picking this module but... used this module and now I am getting in major debt over the project because of the delay and was INCREDIBLY embarassed having it all of a sudden mess up on launch day right in front of my client and my business partner.

Most likely will use SilverStripe for basic web projects because of the ease of use but will not use SilverStripe Ecommerce module until they work out all of the bugs and make it much more competitive.


Community Member, 14 Posts

14 January 2009 at 2:34am

Totally agree with you, 100%.
I have had difficulties with this module since installing over a week ago and deadlines are becoming very close, I may have to follow you and chose another cms or merchant store to work along side SS. It's a pity really.


Community Member, 54 Posts

14 January 2009 at 8:53am

Sorry that belongs in mysite/_config

Yeah I almost gave up but as of this morning I've uploaded it to the live site. I think I've got it all working...wish me luck!


Community Member, 4 Posts

14 January 2009 at 4:58pm

Yeah JMDWEB it is a pitty... SilverStripe is such an incredibly awesome software with its interface but just one part of it is undeveloped. But for now its great for what it is since it is unbelievably great for a free software.

KCD I wish you the best of luck.