Special discounts don't seem to work in checkout?

Events happening in the community are now at Drupal community events on www.drupal.org.
RwDwR's picture

I am making a module that will replace the price field with a field that has quantity-price combinations. This way you can say that buying 1 apple costs 20 cent but buying 10 will cost you 1.80 (a discount of 2 cent per apple). I've got everything working but don't understand why it is that I can use the "xxx_product_specials" function upto the checkout. When I start my checkout all of the prices I made are not showing and I see the original price information of the product. To change the price at checkout I have to use the "xxx_checkoutapi" function. I found this out about 5 minutes ago, so I still have to figure it out but I was already able to influence the price of a single item again. But why is this? using the "xxx_product_specials" for as far as I can see should be used up untill the end, right? Otherwise it is not really strange that prices are going to change from step to step if you don't call the same functions?

Can anyone tell me why this is and if it will be adjusted in the future?

e-Commerce Module

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: