Copied to clipboard

Flag this post as spam?

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


  • Martin 81 posts 246 karma points
    May 13, 2014 @ 00:08
    Martin
    0

    TeaCommerce - rental product?

    I'm looking to build a system using Umbraco 7 and TeaCommerce which needs to be able to do the following:

    Have a product that is a rental item where the customer selects two dates - rental start date and rental return date. The user is charged a fee based on the rental duration so for example £5 per day plus a deposit fee of £200. So the total charged to the customer for a 3 day rental would be £215. Once the customer has returned the rental, if the item is returned in perfect condition we refund the total deposit of £200 or maybe £160 if the rental item needs to be cleaned or repaired for example.

    I'm happy to do all the custom business logic myself, I just need to know if TeaCommerce allows me to do the things I've mentioned above.

    Thanks, Martin

  • Anders Burla 2560 posts 8256 karma points
    May 13, 2014 @ 08:19
    Anders Burla
    0

    Hi Martin

    Yeah that wont be a problem. You can add any "product" to Tea Commerce and even do custom pricing if you need that. To do partial refund you will have to do some custom coding using the API og the payment gateway that you select to use. Hope this helps you in being confident that Tea Commerce can solve your case.

    Kind regards
    Anders

  • Martin 81 posts 246 karma points
    May 21, 2014 @ 23:48
    Martin
    0

    Hi Anders, thanks for the reply. Before I start just a few more things I want to run by you.

    So will I essentially be creating a product type that has 2 additional properties for rental start date and rental end date? Is a product essentially the same as a document type where I can add properties as necessary?

    I also envisage the order states like this: ORDERED -> DEPOSIT TAKEN -> WITH CUSTOMER -> RETURNED -> DEPOSIT REFUNDED -> COMPLETE

    This status will need to be stored against the order and I guess I'll update it when necessary via the API

    I take it that it will be easy to pull out orders of a certain type via the API?

    Looking forward to getting started on this project, Martin

  • Anders Burla 2560 posts 8256 karma points
    May 22, 2014 @ 08:10
    Anders Burla
    0

    Products are just doc types in Umbraco. So you can add all the info you need. When the product is added to TC it is converted to an order line and you need to have properties for it with the info you need for UI.

    You can create order status in the backend and change using the .NET api. Quite easy :)

    You have a method to get all finalized orders as xml where you can fetch the ids and then load them using an API method. Or fetch the ids from the DB and then load.

     

Please Sign in or register to post replies

Write your reply to:

Draft