Copied to clipboard

Flag this post as spam?

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


  • Graham Carr 277 posts 389 karma points
    Apr 17, 2015 @ 10:07
    Graham Carr
    0

    Free shipping and BOGOF rules

    I have the following two requirements for a project I am doing for a client, this is my first venture with TeaCommerce so any pointers or additional help anyone can provide would be great:

    1. Free shipping over x amount
    2. Buy One Get One Free offers

    Now I presume I am right in understanding that to implement the free shipping over X amount I would need to override the shipping calculator using the SuppressDependency, can anyone please confirm that this is the correct course of action. How would I go about altering the administration so that the user can specify the amount that an order qualifies for free shipping?

    Now the BOGOF seems a little more complicated from my perspective as it involves a fair amount of both administration setup and (I presume) overriding the order line calculator?? Any pointers or has anyone already done this and would be happy to share code examples?

    Thanks in advance.

    As an aside I think these would be worthwhile additions to the core TeaCommerce functionality as other free eCommerce shops such as NopCommerce offer these features out of the box.

  • Anders Burla 2560 posts 8256 karma points
    Apr 17, 2015 @ 10:41
    Anders Burla
    0

    Hi Graham

    Using Tea Commerce 3? Then the marketing module is your friend. The free shipping is quite simple to implement. Just make an order amount rule and specify the amount for subtotal (order line prices combined). Then make an order award and set 100% discount on shipping. This will give free shipping, BUT if you use TC.GetPriceForShippingMethod - it will still the original price you get here (no marketing effect here). So if you want this price to show different and use info from the order - then you need to write a custom shipping calculator.

    The BOGOF would need a new type of award in the marketing system. This system is open for 3 party add ons so you can write your own award.
    https://github.com/TeaCommerce/Tea-Commerce-for-Umbraco/tree/master/Source/TeaCommerce.Umbraco.Configuration/Marketing/Models
    https://github.com/TeaCommerce/Tea-Commerce-for-Umbraco/tree/master/Source/TeaCommerce.Umbraco.Application/Marketing

    Hope this helps

    Kind regards
    Anders

  • Graham Carr 277 posts 389 karma points
    Apr 17, 2015 @ 10:45
    Graham Carr
    0

    Thanks for your response Anders, I am indeed using Tea Commerce 3 so I will investigate further into what you have detailed. If I get stuck or have any additioanl questions I will re-post on the forum.


    Graham

Please Sign in or register to post replies

Write your reply to:

Draft