kentico_mirekr
-
3/1/2011 6:08:53 AM
RE:Ecomm product options descriptions
Hi,
Products as well as product options data is stored in database in COM_SKU table, so probably you are looking for SKUDescription column/field from this table.
Your request is just matter of ShoppingCartItemSelector control customization (~\CMSModules\Ecommerce\Controls\ProductOptions\ShoppingCartItemSelector.ascx.cs).
In Page_PreRender method (this one is called when the dropdownlist selected value is changed) you can access selected option/s from the dropdownlist via ProductOptions property (this holds list of product options SKUIDs). So, since you know now how to get product option SKUID (product options are also products stored in COM_SKU table) you can get any additional data like SKUDescription etc. of your product option from COM_SKU table according to SKUID and display them somewhere in your ShoppingCartItemSelector control.
You can use our API to get such data from COM_SKU table according to SKUID.
I hope this will help you. If not, please let me know.
Best regards, Miro Remias.
|