Copied to clipboard

Flag this post as spam?

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


  • Sean Dooley 268 posts 485 karma points
    Dec 21, 2015 @ 16:39
    Sean Dooley
    0

    How to implement the following delivery scenarios

    How do we go about implementing the following delivery scenarios

    • Add a product without it having a delivery charge? i.e. Downloadable products
    • Spend thresholds that dictate what the delivery charge is rather than specific delivery charges per product?
  • Anders Burla Johansen 2560 posts 8256 karma points
    Dec 22, 2015 @ 07:34
    Anders Burla Johansen
    100

    Hi Sean

    Add the product using the API and then use the notification center to change the shipping method depending on the content of the cart. If only downloadable products - shift to a shipping method that doesn't cost anything.

    A threshold can be done using Umbraco nodes to specify the ranges and the price. Then make a custom shipping calculator that uses that node data to calc the price. Cache the range nodes as the shipping calculator calculates prices every time the order is saved.

    https://documentation.teacommerce.net/net-api/price-calculators/shipping-calculator/

    Kind regards

    Anders

  • Sean Dooley 268 posts 485 karma points
    Mar 17, 2016 @ 13:16
    Sean Dooley
    0

    Hi Anders

    For the shipping thresholds implementation that you have suggested, would I not set any shipping methods in Tea Commerce itself?

    Kind regards

    Sean

  • Anders Burla Johansen 2560 posts 8256 karma points
    Mar 17, 2016 @ 14:16
    Anders Burla Johansen
    0

    Yes you would create the shipping methods in Umbraco. And then use the API to change between them.

    Kind regards

    Anders

Please Sign in or register to post replies

Write your reply to:

Draft