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

Discount Codes


Reply


3 Posts   1805 Views

Avatar
hotcode

Community Member, 13 Posts

10 December 2009 at 9:25am

Hi All

I have downloaded and installed the following trunk for discount codes: http://open.silverstripe.com/ticket/2534
Which was written in 2008.

When I add the code suggested to my ecommerce _config.php file, I get the following error:

Line of code: Order::$factory_class = "DiscountOrder";

Error:
Fatal error: Access to undeclared static property: Order::$factory_class in \ecommerce\_config.php

If someone can let me know what I need to do to fix this or point me in the right direction would be great.
Thanks in advance

Avatar
hotcode

Community Member, 13 Posts

11 January 2010 at 10:04am

Hi All

I've been looking at this a bit more over the xmas break and have discovered that it doesn't work for ecommerce 0.5 either.

My client will need this working this week, so if anyone can help me get it working on ecommerce 0.6 beta or an alternative module that will acheive the same thing, and is looking for a paid job where you will work along side me to get it done this week contact me!! You would need to get back to me today.

Thanks

Avatar
jaxjohnny

Community Member, 2 Posts

22 May 2010 at 9:42am

Edited: 22/05/2010 9:44am

the coupon idea works pretty well. I send it out in my [url=http://homebaseli.com/]e-commerce school[/url] newsletter to let the students now about hosting discounts and other stuff from related sites. Keeps customers reading my newsletter and visiting my site.