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

Working on e-commerce for SS 2.4


Go to End


121 Posts   27698 Views

Avatar
DaveTh

Community Member, 14 Posts

23 September 2010 at 10:12pm

Can someone feedback if there have successfully use e-commerce module.
for silverstripe 2.4.1 or the new silverstrip 2.4.2 with the latest version of SVN trunk e-commerce

I always get Javascript error and the account and checkup page remain inactive for saving and publication after installation.

Thanks

Avatar
CHD

Community Member, 219 Posts

24 September 2010 at 1:43am

i got it all working with 2.4.1

i honestly cant remember now though which of these 2 versions i used:

svn checkout http://silverstripe-ecommerce.googlecode.com/svn/branches/burnbright ecommerce
svn checkout http://silverstripe-ecommerce.googlecode.com/svn/trunk/ ecommerce

Avatar
GRiiDWeb

Community Member, 60 Posts

24 September 2010 at 2:00am

Hmmmmmmmmm....
I'm using a changed variation to the Blackcandy theme and when I add anything to basket, nothing comes up, in the left column as previous. If it all, works, I can only guess that I have a module installed that conflicts with the latest changes.
I'll have to test on another site to see if the theme affects it or if it's something else.

Thanks

Avatar
CHD

Community Member, 219 Posts

24 September 2010 at 2:02am

i started with Blackcandy too, and adjusted to suit.
i think my shopping cart never worked be default.
i had to build one myself.

want me to share the .ss file?

Avatar
DaveTh

Community Member, 14 Posts

24 September 2010 at 2:34am

Edited: 24/09/2010 2:35am

I tested using Silverstripe 2.4.2 fresh installed with payment 0.3 and Burnbright(e-commece module)

a) which SVN version to use?
if you browse the SVN, the latest activities :
The latest activity is svn/branches/burnbright (Jezait) - it seems nothing has been to the trunk version for at least one month.

b) Install burnbright and rename ecommerce.

c) Installation Instructions
2. copy configurations from this module's _config.php file
into mysite/_config.php file and edit settings as required.

d)I could not find the following line, so I ignore
/**
* NOTA BENE :: NOTA BENE :: NOTA BENE :: NOTA BENE :: NOTA BENE ::
* @important: in the order templates, change as follows:
* FROM: <td id="$TableTotalID" class="price"><% if IsChargable %>$Amount.Nice<% else %>-$Amount.Nice<% end_if %></td>
* TO: <td id="$TableTotalID" class="price">$TableValue</td>
**/

e) I also not able to do this
when running dev/build/ add: ?updatepayment=1 to migrate
payment data from 2.3 to 2.4 style (currency db field to
money db field).

f)how to change order status options:
created a OrderDecoratorCustom.php in mysite/code

g) DataObjectDecorator::add_extension('Order', 'OrderDecoratorCustom'); to mysite/_config.php (Error)

h) Uncomment all the Order settings in mysite/_config.php (step c)

Order::set_modifiers(array());;
Order::set_email("websales@silverstripe.co.nz");
Order::set_subject("Order #%d - Thank you for your order at silverstripe.co.nz");
Order::set_table_overview_fields(array());
Order::set_order_id_start_number(1000);
Order::$db["Status"] = 'Enum("New,Unpaid,PaymentConfirmed,QueryForCustomer,PartsOnOrder,Processing,Sent,Complete,AdminCancelled,MemberCancelled","New")';

summary:

I am evaluating Silverstripe for a website that support e-commerce. So, it is critical that the module work before
I spend more time learning SilverStripe.

Finally:

I have 4 new pages, that can be saved and published and 4 new menus.

However, I need to learn what to do next.

Problems:

Many:
a) Template is totally meshed up

Any one has suggestion?

Avatar
GRiiDWeb

Community Member, 60 Posts

24 September 2010 at 2:36am

Edited: 24/09/2010 2:39am

Hi CHD,
That would be great if you help with that.
It's the last job to do to finish a working model. PayPal is all set up ready to go, so hopefully if this fixes my isse, I'm ready for launch.

Thanks again

Avatar
DaveTh

Community Member, 14 Posts

24 September 2010 at 2:38am

Anyone can share how to adapt the blackcandy template?? thank you

Avatar
GRiiDWeb

Community Member, 60 Posts

24 September 2010 at 2:44am

Hi SunnyStone,
The Blackcandy theme seems to be the most stable out of all the themes, so I have only change the CSS and graphics to suit.
In terms of templates and layout, I'm working with a Designer friend of mine to come up with a set of 'out of the box' templates for Homepage, 2 column and 3 column layout. We are a little way off from completing this, but there are tutorials and instruction on the silverstripe site and on ssbits.com to guide you as you dabble.

P.