Tiered discounts, API

Posts: 61
Joined: 03/19/2008

Can Ubercart handle tiered discounts? That is, a product has a basic price that is valid upto a certain number or users and once that limit is crossed, the basic price goes down and so on upto several different tiers. A good example of tiered discounts is on this page: http://luxsci.com/extranet/prices.html (take a look at 'Spam and Virus Filtering Services' halfway down the page).

Also, is it possible to integrate an external API into Ubercart? I have the Web Services API (that uses SOAP) in mind:
http://luxsci.com/extranet/api.html

Thanks in advance,
Venkat

Posts: 924
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

venkat-rk@drupal.org wrote:
Can Ubercart handle tiered discounts? That is, a product has a basic price that is valid upto a certain number or users and once that limit is crossed, the basic price goes down and so on upto several different tiers. A good example of tiered discounts is on this page: http://luxsci.com/extranet/prices.html (take a look at 'Spam and Virus Filtering Services' halfway down the page).

You can do this easily with a very small amount of added-on code. See http://www.ubercart.org/contrib/2289 for an example of how to hook in and modify the price based on conditions.

venkat-rk@drupal.org wrote:
Also, is it possible to integrate an external API into Ubercart? I have the Web Services API (that uses SOAP) in mind:
http://luxsci.com/extranet/api.html

Yes. For example, that's exactly what my FedEx module does: http://www.ubercart.org/contrib/2106

--

<tr>.

Posts: 61
Joined: 03/19/2008

Thank you TR. This gives me a lot of confidence to invest more time into Ubercart. Much appreciated:-)