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

eCommmerce 0.8.1 release candidate


Go to End
Reply

11 Posts   2827 Views

Avatar
Jedateach

19 January 2011 at 11:08am Forum Moderator, 227 Posts

Here is a release candidate for eCommerce 0.8.1.

download:
http://code.google.com/p/silverstripe-ecommerce/downloads/detail?name=ecommerce-0.8.1rc1.zip
svn access:
http://silverstripe-ecommerce.googlecode.com/svn/tags/rc/0.8.1-rc1

Please reply to this thread with bugs related to this release. Please post any other matters in a new forum thread.

Once enough people have responded saying it works fine, it will become a new release.

I'll sticky this thread when I can.

Avatar
DusX

29 January 2011 at 11:45am Community Member, 12 Posts

I will test this evening.
Do you have a basic config setting that you know works?

Avatar
DsX

29 January 2011 at 1:52pm Community Member, 178 Posts

OK, first notes.

Just getting it installed.
A number of config settings from the ReadMe cause dev/build to fail. they are:
//OrderFormWithoutShippingAddress::add_extra_field("tabName", new TextField("ExampleName");
//Product::set_global_allow_purcahse(false);
//Product::set_thumbnail_size($width = 140, $height = 100);
//Product::set_content_image_width($width = 200);
//Product::set_large_image_width($width = 200);
//ProductGroup::set_sort_options(true);

all others worked with default settings.

Avatar
DsX

29 January 2011 at 5:03pm Community Member, 178 Posts

Another thing... I am decorating Products.
and have found that the code supplied in the readme to add via _config.php broke on dev/build
however: Object::add_extension('Product', 'ProductExtensions'); does work.

otherwise its looking good to me so far. Pretty excited.

Avatar
Mrfixer

7 February 2011 at 12:03pm (Last edited: 7 February 2011 12:16pm), Community Member, 49 Posts

Pretty much the same as DsX for the config settings error (infact exactly the same).

Product::set_global_allow_purcahse(false); // just a typo in purchase

the others that gave issues for me were

//Product::set_thumbnail_size($width = 140, $height = 100);
//Product::set_content_image_width($width = 200);
//Product::set_large_image_width($width = 200);

looking through product.php im guessing (and i am guessing as im new to SS and Sapphire) that they should be

//Product_Image::set_thumbnail_size($width = 140, $height = 100);
//Product_Image::set_content_image_width($width = 200);
//Product_Image::set_large_image_width($width = 200);

as this is whats referred too in the

class Product extends Page
{
public static $has_one = array(
      'Image' => 'Product_Image'
   );
}

and again here line 541

class Product_Image extends Image {
}

other than that all seems pretty good to me, tomorrow (which is far sooner than i expected to be honest) will be taking from localhost to dev server and hooking up to sandbox to do a few test runs

Avatar
Room9

14 February 2011 at 10:43am (Last edited: 14 February 2011 10:43am), Community Member, 19 Posts

Hi,

I've downloaded 0.8.1 RC, Payment module 0.3 with SS 2.4.4

Added the README config to _config.php, although most of it remains commented.

Added to following to _config.php

Payment::set_supported_methods(array(
'DPSPayment' => 'Credit card (DPS)'
));

DPSAdapter::set_pxpost_account('myuser', 'mypassword);
DPSAdapter::set_receipt_from('dave@xxx.xx.nz');

Added items to cart, went to checkout, entered CC details, submit and get this error:

Access to undeclared static property: DPSPayment::$cvn_mode in [...]/payment/code/DPSPayment/DPSPayment.php on line 109

Note, the same problem is shown on the Payment module forum at http://silverstripe.org/payments-and-payment-gateway-apis/show/14901. But whether it's a payment module problem or ecommerce use of the payment module I don't know, so posting it here as well.

I have to say, all the discussion about revamping payment and ecommerce modules is great, but some decent documentation would go a very long way to making the effort successful. I don't mind adding/editing documentation as I learn these modules, but where does it go?

Also created ticket in Google project.

Avatar
Jedateach

14 February 2011 at 11:04am Forum Moderator, 227 Posts

Hi DaveO,

I agree that there needs to be better documentation for Payments.

The core payment module is not being updated as often as it should. I'm hoping to see this change.
There are newer versions of most of the payment types included in the core payment module, many of which you can find here:
http://code.google.com/p/silverstripe-ecommerce/source/browse/#svn%2Fmodules

A good addition to that documentation would be an up-to-date list of payment types, and where to obtain them.

hope this helps,
Jeremy

Avatar
Room9

14 February 2011 at 11:38am Community Member, 19 Posts

Thanks for the link Jeremy, just tested successfully with DpsPxPayPayment module.

So this means the DPS pxpost payment type is not an option since it breaks in the Payment module and there's no other module written for the payment type??

Go to Top