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.

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

cart widget setup


Reply


3 Posts   763 Views

Avatar
Futureweb

Community Member, 233 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
Futureweb

Community Member, 233 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, 233 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