Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Creating product option on the fly View modes: 
User avatar
Member
Member
eagleag - 2/5/2013 4:11:33 AM
   
Creating product option on the fly
Hi,

I have an ecom site.
It has only 10 products and unlimited product options that are only created when a user adds product to cart.

example:
1) Before a user adds a product to shopping cart he select an "addition/option" to the product.

2) once he clicks ADD TO CART, the "addition/option" is made into a kentico Product Option.

3) checkout now shows Product with Product Option that was just created on the fly.


Anyone see any issues with this idea?

any api examples on adding product options and then adding this to product being added to shopping cart?

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 2/8/2013 10:54:17 AM
   
RE:Creating product option on the fly
Hi,

This approach should be possible.
You can find the API usage examples in Site manager -> Support -> API Examples -> E-commerce
In particular, the number 58. example about adding products (or options) to shopping cart, 67-70. about creating product options and adding them to option categories.

You can also find the implementation details in the UI pages in CMSModules/Ecommerce/Controls/UI.

Hope this will help.

Regards,
Zdenek.