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.
How to implement the following delivery scenarios
How do we go about implementing the following delivery scenarios
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
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
Yes you would create the shipping methods in Umbraco. And then use the API to change between them.
Kind regards
Anders
is working on a reply...