Jump to:

2076 Posts in 857 Topics by 449 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Discount Codes

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

Page: 1
Go to End
Author Topic: 1713 Views
  • hotcode
    Avatar
    Community Member
    13 Posts

    Discount Codes Link to this post

    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

  • hotcode
    Avatar
    Community Member
    13 Posts

    Re: Discount Codes Link to this post

    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

  • jaxjohnny
    Avatar
    Community Member
    2 Posts

    Re: Discount Codes Link to this post

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

    1713 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.