Membership products

Andreea Popa asked on February 21, 2017 15:56

Hello,

How can I display membership products with radio buttons on a page. I have 3 products: 1 Year, 2 years, 3 years, with different prices and each is assigned to a membership. I want to display them on a page with radio buttons and when one is picked the user to be redirected on payment info page and skip add to cart process. I'm using Kentico 10.

Thanks

Recent Answers


Trevor Fayas answered on February 21, 2017 16:19

You may need to create a custom control if you wish to automatically do all that logic.

In your Transformation (I assume that's how you are displaying things) you can include and use any ascx control you make. I would create one and pass it the information you need in order to render (like the SkuID), and add in your logic there. Kentico's API can easily accomplish what you are looking to do.

I would look at the default ecommerce site transformations that display a product in order to get an idea of how to get your own info and pass it.

0 votesVote for this answer Mark as a Correct answer

Peter Mogilnitski answered on February 21, 2017 17:02 (last edited on February 21, 2017 17:29)

Install/update Kentico with corporate site example if you don't have it. There is membership product page with gold and silver memberships. It already has the desired functionality. I would keep the existing processes such as user registration and check out (you can have 1-page checkout) at least in the beginning. This is your starting point. Play around, modify productlist transformation according to your taste.

0 votesVote for this answer Mark as a Correct answer

Andreea Popa answered on February 22, 2017 11:33

Thank you, I'll try you suggestions.

0 votesVote for this answer Mark as a Correct answer

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