Price Customization

Austin Harmon asked on May 19, 2020 17:43


I am looking to customize the pricing for products in Kentico. I began customizing the SkuInfoProvider class and that is working however there is only the one field in the database for price. Currently I'm using a Stored Procedure to pull pricing and then depending on member type put the SKUPrice field to be that price, but in large scale production changing the price on the fly doesn't seem like the correct solution.

I was going to override the GetSKUPrice method and have that look at a field in the sku table. So I would add lets say 5 fields to the sku table that would have the price for each teir and then look at that field instead of the SKUPrice field.

Does this sound like the right approach to fit into Kentico's standard Pricing architecture or is there something I'm missing?

I attempted to use the GetSKUPrice and GetSKUPriceInteral to override and add my custom pricing however it saying that these methods don't exist even though in the kentico 10 api documentation it shows them along with many more options that are supposed to be exposed.

Event when I instantiate the regualr SKUInfoProvider class it only exposes certain methods and not majority of the useful ones.

Thank you, Austin

Recent Answers

David te Kloese answered on June 5, 2020 15:28

Usually on dynamic prices I calculate them in the shopping cart. And override those methods.

On the product page itself you set a "starting at price" or something where you use the lowest price and set that at in the SKUPrice field

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.