Kentico 8.2 Discounts

Reinhard Dünser asked on May 28, 2015 10:24

Hi all,

I'm looking for a way to give a Product 4 different prices and show just on of them. Which price u see should be controlled by the role. eg Price HK1 should only be seen of the role HK1. For this task I would like to use just Kentico standards.

May someone had already the same problem or know a solution for my problem?

Thank you for response.

Regards.

Recent Answers


Martin Danko answered on June 10, 2015 08:18

Hello Reinhard,

In this particular case I would recommend you to add 4 custom fields to product -> every field for a different role. Then you can simply use the macros to display the right price based on the role of current user, in the same way modify the transformations, etc. depends where and how exactly are you displaying the price.

Then, I suppose, you will also need to customize the wau how the price is calculated. We have a similar sample how to customize the price based on the currency, so you can take an inspiration from this sample and create the one according to your needs.

This sample file with customSKUInfoProvider could be found in the following location: Program Files (x86)\Kentico\8.0\CodeSamples\App_Code Samples\E-commerce samples

Best regards, Martin

0 votesVote for this answer Mark as a Correct answer

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