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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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

cart widget setup


Go to End


3 Posts   1305 Views

Avatar
JonShutt

Community Member, 244 Posts

10 June 2011 at 10:49am

hi all

I'm trying to set up the eCommerce cart widget - I've uploaded, and gone through the instructions here
http://doc.silverstripe.org/sapphire/en/topics/widgets?s=widgets

however, when i view a page which has the cart widget on, i get "Call to undefined method Order::ShoppingCart() in /home/future/public_html/ss-shop/mysite/widgets_cart/CartWidget.php on line 18"

i guess this is because the default page isn't being told to connect to this function - so i probably have to add something in mysite/code/page.php?

any suggestions?

cheers

Avatar
JonShutt

Community Member, 244 Posts

13 June 2011 at 12:30pm

in the end, i gave up on the widget, and set my page type to 'product group' which has the same effect - it puts the checkout features on the page - but there is just text on the page and no products

Avatar
Jedateach

Forum Moderator, 238 Posts

13 June 2011 at 6:59pm

Hi jon,

where did you find the Widget? What version of eCommerce are you using?
I want to include a cart widget with the latest version.

regards,
Jeremy