Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Zac 39 posts 61 karma points
    Feb 24, 2011 @ 04:26
    Zac
    0

    Feature Request - Discounts/Coupon Codes

    Now that we have nearly finished building our first site with TeaCommerce, we are looking at next steps. One big feature that appears to be missing from tea is discounts. I envision being able to create coupon codes in the back end and setting some parameters e.g. percantage discount, one time use or expires on date x, expires after 50 times being used etc. Then when checking out the customer supplies the code, we plug in into the javascript request and Tea calculates the discount.

    Any chance of this happening in the near future?

    (Please vote this up or comment if you would also like to see this feature implemented)

  • Anders Burla 2560 posts 8256 karma points
    Feb 24, 2011 @ 17:12
    Anders Burla
    0

    Hi Zac

    I dont think this will be standard in Tea Commerce in the near future. What we are looking into at the moment was to extend Tea Commerce to have hooks in the price calculation so you could have somelike

    if ( order.Properties["couponCode"] == "testingTeaCommerce" ) {
      order.TotalCost = order.TotalCost * 0,9;
    }

    The way Tea Commerce we get extended in the future, is to have customers request a functionality and if we think its good enough to be a part of the core, we talk about the development cost of this functionality and how much our customer has to pay of this. Ofcourse you then pay for this feature, but then when other people request and pay for another feature you get that for free. So everybody is helping to have Tea Commerce grow

  • Zac 39 posts 61 karma points
    Feb 24, 2011 @ 19:16
    Zac
    0

    That is unfortunate as I think it is a pretty essential feature for an ecommerce system.

    In that case the extensibility points will be vital as I will be wanting to build this myself so that I can have the feature soon. Not prepared to pay for you to do it sorry. I would have expected that a paid product like yours would add this kind of ecommerce functionality reasonably early on anyway.

  • Anders Burla 2560 posts 8256 karma points
    Feb 24, 2011 @ 19:43
    Anders Burla
    0

    Tea Commerce is still a pretty new product but most basic features for implementing a webshop is present. Every webshop has different needs and we cant cover all of them. When buying a license its for the current Tea Commerce product and we cant promise if more features's will be added for free. If we should keep developing new features we have to finance it somehow. By clients paying for the feature or have a higher license price. The current price doesnt allow us to make big features. What do you think of the current price? Should we raise it to allow future development, make some features only available for an "extended license", or maybe make support available for a small monthly fee? Any thoughts and ideas are welcome :)

  • Rune Grønkjær 1372 posts 3103 karma points
    Mar 04, 2011 @ 11:54
    Rune Grønkjær
    0

    I have been working on this the last few days. In the next release everyone will be able to manipulate prices and fees as well as VAT groups on the order.

    You will be using the Tea Commerce event model, wich also has been overhauled since the last release.

    This is how it could be done:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using TeaCommerce.Data.Extensibility;
    using TeaCommerce.Data;

    namespace TeaCommerce.NET.TestScenarios {
      public class TeaCommerceExtension : ITeaCommerceExtension {

        #region ITeaCommerceExtension Members

        public void Initialize() {
          WebshopEvents.OrderLineAdded += WebshopEvents_OrderLineAdded;
        }

        void WebshopEvents_OrderLineAdded( Order order, OrderLine orderLine ) {

          if ( orderLine.Quantity > 50 ) {
            orderLine.UnitPriceWithoutVAT -= orderLine.UnitPriceWithoutVAT * 0.2M;
          }

          if ( order.Country.Id == 2 ) {
            order.VATGroupId = 2;
          } else {
            order.VATGroupId = order.OriginalVatGroupId;
          }

          order.Save();

        }

        #endregion
      }
    }
  • Rune Grønkjær 1372 posts 3103 karma points
    Mar 07, 2011 @ 13:34
    Rune Grønkjær
    0

    Hi Zac,

    Have you tried the new feature yet? Would like to hear if it's working for you.

    /Rune

  • Zac 39 posts 61 karma points
    Mar 12, 2011 @ 05:34
    Zac
    0

    Thanks this looks good however I do not have available time to work on this functionality, nor is it a priority at this point. I was making the request in the hope that something would be available in a month or two when we really need the functionality.

  • Ian Bennett 8 posts 27 karma points
    Mar 18, 2011 @ 15:17
    Ian Bennett
    0

    Hey Zac, did you decide on an eCommerce solution that met your voucher/dscount code needs? Have the same issue at the moment and can't spend 850 euros on uCommerce

     

    Thanks

  • Zac 39 posts 61 karma points
    Mar 18, 2011 @ 18:37
    Zac
    0

    Hi Ian. I have already built our site using Tea Commerce which I am really happy with. It does have the flexibility to modify the prices however there is no backend management for creating codes etc. I don't need the functionality right now so I am hoping that it gets built into Tea sometime in the next few months.

Please Sign in or register to post replies

Write your reply to:

Draft